Class: ModernTimes::JMS::SupervisorMBean
Instance Attribute Summary
#supervisor
Instance Method Summary
collapse
#initialize, #worker_count, #worker_count=, #worker_statuses
Instance Method Details
#average_response_time ⇒ Object
13
14
15
|
# File 'lib/modern_times/jms/supervisor_mbean.rb', line 13
def average_response_time
supervisor.average_response_time
end
|
#max_response_time ⇒ Object
21
22
23
|
# File 'lib/modern_times/jms/supervisor_mbean.rb', line 21
def max_response_time
supervisor.max_response_time
end
|
#message_counts ⇒ Object
9
10
11
|
# File 'lib/modern_times/jms/supervisor_mbean.rb', line 9
def message_counts
java.util.ArrayList.new(supervisor.message_counts)
end
|
#min_response_time ⇒ Object
17
18
19
|
# File 'lib/modern_times/jms/supervisor_mbean.rb', line 17
def min_response_time
supervisor.min_response_time
end
|