public interface RemoteSafeInvocationHandlerMetricsMBean
| Modifier and Type | Field and Description |
|---|---|
static ObjectName |
OBJECTNAME_METRICS
The name of this metric collector MBean as it will be registered under by the service container
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the metrics data, starting all values back to 0 as if starting fresh.
|
long |
getAverageExecutionTime()
Returns the average execution time (in milliseconds) it took to execute all
successful invocations received. |
Map<String,RemoteSafeInvocationHandlerMetrics.Calltime> |
getCallTimeData()
Returns a map of individual invocations and their metrics such
as number of times invoked, min/max/avg execution times.
|
Map<String,long[]> |
getCallTimeDataAsPrimitives()
This obtains the same calltime data as
getCallTimeData() except the
map that is returned contains only primitive objects so remote clients do not have
to have this MBean class definition in their classloaders. |
long |
getNumberFailedInvocations()
Returns the total number of invocations that were received but failed to be processed succesfully.
|
long |
getNumberSuccessfulInvocations()
Returns the total number of invocations that were received and processed successfully.
|
long |
getNumberTotalInvocations()
Returns the sum of all invocations received, successful or not.
|
static final ObjectName OBJECTNAME_METRICS
void clear()
long getNumberFailedInvocations()
long getNumberSuccessfulInvocations()
long getNumberTotalInvocations()
long getAverageExecutionTime()
successful invocations received.Map<String,RemoteSafeInvocationHandlerMetrics.Calltime> getCallTimeData()
Map<String,long[]> getCallTimeDataAsPrimitives()
getCallTimeData() except the
map that is returned contains only primitive objects so remote clients do not have
to have this MBean class definition in their classloaders. The order of the map
values is important - each element in the array is as follows:
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.