@ManagedResource(description="Job Invocation Service Monitor") public class MessageMonitor extends Object implements org.springframework.jmx.export.notification.NotificationPublisherAware
Constructor and Description |
---|
MessageMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
clearExecutionTimes() |
long |
getAvgExecutionTime() |
long |
getCompletedRequests() |
long |
getRecentAvgExecutionTime() |
long |
getRecentMaxExecutionTime() |
long |
getRecentMinExecutionTime() |
long |
getRunningRequests() |
void |
setNotificationPublisher(org.springframework.jmx.export.notification.NotificationPublisher notitifacionPublisher) |
void |
startObserving(org.apache.cxf.message.Message msg) |
void |
stopObserving(org.apache.cxf.message.Message msg) |
public void startObserving(org.apache.cxf.message.Message msg)
public void stopObserving(org.apache.cxf.message.Message msg)
@ManagedAttribute(description="Running Requests") public long getRunningRequests()
@ManagedAttribute(description="Completed Requests") public long getCompletedRequests()
@ManagedAttribute(description="Avg. time taken for executing the last 10 requests [milliseconds]") public long getRecentAvgExecutionTime()
@ManagedAttribute(description="Min. time taken for executing the last 10 requests [milliseconds]") public long getRecentMinExecutionTime()
@ManagedAttribute(description="Max. time taken for executing the last 10 requests [milliseconds]") public long getRecentMaxExecutionTime()
@ManagedAttribute(description="Avg. time for execution a request [milliseconds]") public long getAvgExecutionTime()
@ManagedOperation(description="Clear all statistical data") public void clearExecutionTimes()
public void setNotificationPublisher(org.springframework.jmx.export.notification.NotificationPublisher notitifacionPublisher)
setNotificationPublisher
in interface org.springframework.jmx.export.notification.NotificationPublisherAware
Copyright © 2018 levigo holding gmbh. All rights reserved.