|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteSafeInvocationHandlerMetricsMBean
| Field Summary | |
|---|---|
static ObjectName |
OBJECTNAME_METRICS
The name of this metric collector MBean as it will be registered under by the service container |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final ObjectName OBJECTNAME_METRICS
| Method Detail |
|---|
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:
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||