Class: Fintop::Probe::FinagleProcess

Inherits:
Object
  • Object
show all
Defined in:
lib/fintop/probe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pid, admin_port, stats_lib) ⇒ FinagleProcess

Returns a new instance of FinagleProcess.



16
17
18
19
20
# File 'lib/fintop/probe.rb', line 16

def initialize(pid, admin_port, stats_lib)
  @pid = pid
  @admin_port = admin_port
  @stats_lib = stats_lib
end

Instance Attribute Details

#admin_portObject (readonly)

Returns the value of attribute admin_port.



13
14
15
# File 'lib/fintop/probe.rb', line 13

def admin_port
  @admin_port
end

#pidObject (readonly)

Returns the value of attribute pid.



12
13
14
# File 'lib/fintop/probe.rb', line 12

def pid
  @pid
end

#stats_libObject (readonly)

Returns the value of attribute stats_lib.



14
15
16
# File 'lib/fintop/probe.rb', line 14

def stats_lib
  @stats_lib
end