Class: Fintop::Probe::FinagleProcess
- Inherits:
-
Object
- Object
- Fintop::Probe::FinagleProcess
- Defined in:
- lib/fintop/probe.rb
Instance Attribute Summary collapse
-
#admin_port ⇒ Object
readonly
Returns the value of attribute admin_port.
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
-
#stats_lib ⇒ Object
readonly
Returns the value of attribute stats_lib.
Instance Method Summary collapse
-
#initialize(pid, admin_port, stats_lib) ⇒ FinagleProcess
constructor
A new instance of FinagleProcess.
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_port ⇒ Object (readonly)
Returns the value of attribute admin_port.
13 14 15 |
# File 'lib/fintop/probe.rb', line 13 def admin_port @admin_port end |
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
12 13 14 |
# File 'lib/fintop/probe.rb', line 12 def pid @pid end |
#stats_lib ⇒ Object (readonly)
Returns the value of attribute stats_lib.
14 15 16 |
# File 'lib/fintop/probe.rb', line 14 def stats_lib @stats_lib end |