|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandExecutorMBean
The CommandExecutorMBean specifies the JMX monitoring
and managability interface for CommandExecutors.
Copyright (c) 2008. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Method Summary | |
|---|---|
String |
getContextIdentity()
Returns the Context Identifier as a string. |
long |
getContextVersion()
Returns the version number of the Context that the CommandExecutor
is managing. |
double |
getLocalAverageCommandExecutionDuration()
Returns the average execution time (in milliseconds) for the Commands executed locally by the current owner of the Context
(ie: local CommandExecutor). |
double |
getLocalCommandExecutionServiceDuration()
Returns the local command execution service duration (in milliseconds). |
long |
getLocalCommandsExecuted()
Returns the number of Commands that have been executed locally by the
current owner of the Context (ie: local CommandExecutor). |
long |
getLocalCommandsSubmitted()
Returns the number of Commands that have been submitted locally to the
current owner of the Context (ie: local CommandExecutor). |
double |
getLocalLastCommandExecutionDuration()
Returns the execution time (in milliseconds) for the last Command executed
locally by the current owner of the Context (ie: the local CommandExecutor) |
double |
getLocalMaximumCommandExecutionDuration()
Returns the maximum time (in milliseconds) that a Command has taken
to execute locally by the current owner of the Context (ie: the local CommandExecutor) |
double |
getLocalMinimumCommandExecutionDuration()
Returns the minimum time (in milliseconds) that a Command has taken
to execute locally by the current owner of the Context (ie: the local CommandExecutor) |
String |
getStatus()
Returns the current CommandExecutor.State of the CommandExecutor. |
long |
getTicketIssuerId()
Returns the current id that is being used to issue Tickets. |
long |
getTotalCommandExecutionDuration()
Returns the total time (in milliseconds) that the Commands executed thus far have taken to execute. |
long |
getTotalCommandExecutionWaitingDuration()
Returns the total time (in milliseconds) that the Commands executed thus far have waited to execute (ie: the queuing time). |
long |
getTotalCommandsExecuted()
Returns the total number of Commands for the Context
that have been executed (regardless of the owner) |
long |
getTotalCommandsPendingExecution()
Returns the total number of Commands that are yet to be executed |
| Method Detail |
|---|
String getContextIdentity()
Context Identifier as a string.
long getContextVersion()
Context that the CommandExecutor
is managing.
long getTicketIssuerId()
Tickets.
NOTE: If another CommandExecutor is created for same
Context with the same Identifier in the cluster (due
to recovery / load-balancing of Contexts), a new Ticket
issuer id will be allocated to the new CommandExecutor.
This ensures that for each instance of a CommandExecutor, the
Ticket issuer id will be different, thus allowing us to "order"
Commands send to particular CommandExecutors.
String getStatus()
CommandExecutor.State of the CommandExecutor.
long getTotalCommandsPendingExecution()
Commands that are yet to be executed
long getTotalCommandsExecuted()
Commands for the Context
that have been executed (regardless of the owner)
long getTotalCommandExecutionDuration()
Commands executed thus far have taken to execute.
long getTotalCommandExecutionWaitingDuration()
Commands executed thus far have waited to execute (ie: the queuing time).
long getLocalCommandsSubmitted()
Commands that have been submitted locally to the
current owner of the Context (ie: local CommandExecutor).
long getLocalCommandsExecuted()
Commands that have been executed locally by the
current owner of the Context (ie: local CommandExecutor).
double getLocalAverageCommandExecutionDuration()
Commands executed locally by the current owner of the Context
(ie: local CommandExecutor).
double getLocalMinimumCommandExecutionDuration()
Command has taken
to execute locally by the current owner of the Context (ie: the local CommandExecutor)
double getLocalMaximumCommandExecutionDuration()
Command has taken
to execute locally by the current owner of the Context (ie: the local CommandExecutor)
double getLocalLastCommandExecutionDuration()
Command executed
locally by the current owner of the Context (ie: the local CommandExecutor)
double getLocalCommandExecutionServiceDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||