@Service(value=StatisticsManager.class) public class StatisticsManager extends Object
Constructor and Description |
---|
StatisticsManager() |
Modifier and Type | Method and Description |
---|---|
Statistics |
getGlobalStatistics()
Get the global statistics.
|
Statistics |
getQueueStatistics(String queueName)
Get a single queue statistics.
|
Map<String,TopicStatistics> |
getTopicStatistics()
Get all topic statistics.
|
void |
jobDequeued(String queueName,
String topic) |
void |
jobEnded(String queueName,
String topic,
InternalJobState state,
long processingTime) |
void |
jobQueued(String queueName,
String topic) |
void |
jobStarted(String queueName,
String topic,
long queueTime) |
public Statistics getGlobalStatistics()
public Map<String,TopicStatistics> getTopicStatistics()
public Statistics getQueueStatistics(String queueName)
queueName
- The queue name.public void jobEnded(String queueName, String topic, InternalJobState state, long processingTime)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.