public class JDBCReplayStatisticsRuntimeMBeanImpl extends RuntimeMBeanDelegate implements JDBCReplayStatisticsRuntimeMBean
Modifier and Type | Field and Description |
---|---|
(package private) JDBCConnectionPool |
pool |
descriptor, name, parent, registered, type
ACTIVATED, NEW, PREPARED, UNPREPARED, UPDATE_PENDING
Constructor and Description |
---|
JDBCReplayStatisticsRuntimeMBeanImpl(JDBCConnectionPool pool,
java.lang.String beanName) |
JDBCReplayStatisticsRuntimeMBeanImpl(JDBCConnectionPool pool,
java.lang.String beanName,
RuntimeMBean parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
addWorkManagerRuntime(WorkManagerRuntimeMBean wmRuntime)
Adds the RuntimeMBean for a WorkManager defined in this component
|
void |
clearStatistics()
Clear the statistics on all connections.
|
int |
getDeploymentState()
The current deployment state of the
module.
|
long |
getFailedReplayCount()
Obtains the number of replays that failed.
|
java.lang.String |
getModuleId()
Returns the identifier for this Component.
|
long |
getReplayDisablingCount()
Obtains the number of times that replay is disabled.
|
long |
getSuccessfulReplayCount()
Obtains the number of replays that succeeded.
|
long |
getTotalCalls()
Obtains the total number of JDBC calls executed so far.
|
long |
getTotalCallsAffectedByOutages()
Obtains the number of JDBC calls affected by outages.
|
long |
getTotalCallsAffectedByOutagesDuringReplay()
Obtains the number of JDBC calls affected by outages in the
middle of replay.
|
long |
getTotalCallsTriggeringReplay()
Obtains the number of JDBC calls that triggered replay.
|
long |
getTotalCompletedRequests()
Obtains the total number of completed requests so far.
|
long |
getTotalProtectedCalls()
Obtains the total number of JDBC calls executed so far that
are protected by AC.
|
long |
getTotalReplayAttempts()
Obtains the number of replay attempts.
|
long |
getTotalRequests()
Obtains the total number of successfully submitted requests so far.
|
WorkManagerRuntimeMBean[] |
getWorkManagerRuntimes()
Get the runtime mbeans for all work managers defined in this component
|
void |
refreshStatistics()
Update the snapshot
|
void |
setDeploymentState(int state)
Sets the value of the deploymentState attribute.
|
_createHelper, _postSet, _postSet, _postSet, _postSet, _postSet, addChild, addNotificationListener, addPropertyChangeListener, createChildCopy, getAttribute, getAttributes, getMBeanInfo, getMetaData, getName, getNotificationInfo, getObjectName, getParent, getParentAttribute, getPropertyChangeListeners, getRegistrationManager, getRestParent, getType, invoke, isCachingDisabled, isEditable, isRegistered, pluralize, postDeregister, postRegister, preDeregister, preRegister, register, removeChild, removeNotificationListener, removePropertyChangeListener, setAttribute, setAttributes, setMetaData, setName, setParent, setRestParent, setRuntimeMBeanHelper, setType, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, preDeregister, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
JDBCConnectionPool pool
public JDBCReplayStatisticsRuntimeMBeanImpl(JDBCConnectionPool pool, java.lang.String beanName, RuntimeMBean parent) throws ManagementException
ManagementException
public JDBCReplayStatisticsRuntimeMBeanImpl(JDBCConnectionPool pool, java.lang.String beanName) throws ManagementException
ManagementException
public void refreshStatistics()
JDBCReplayStatisticsRuntimeMBean
refreshStatistics
in interface JDBCReplayStatisticsRuntimeMBean
public void clearStatistics()
JDBCReplayStatisticsRuntimeMBean
clearStatistics
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalRequests()
getTotalRequests
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalCompletedRequests()
getTotalCompletedRequests
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalCalls()
getTotalCalls
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalProtectedCalls()
getTotalProtectedCalls
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalCallsAffectedByOutages()
getTotalCallsAffectedByOutages
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalCallsTriggeringReplay()
getTotalCallsTriggeringReplay
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalCallsAffectedByOutagesDuringReplay()
getTotalCallsAffectedByOutagesDuringReplay
in interface JDBCReplayStatisticsRuntimeMBean
public long getSuccessfulReplayCount()
getSuccessfulReplayCount
in interface JDBCReplayStatisticsRuntimeMBean
public long getFailedReplayCount()
getNextException
to retrieve the reason.getFailedReplayCount
in interface JDBCReplayStatisticsRuntimeMBean
public long getReplayDisablingCount()
getReplayDisablingCount
in interface JDBCReplayStatisticsRuntimeMBean
public long getTotalReplayAttempts()
getTotalReplayAttempts
in interface JDBCReplayStatisticsRuntimeMBean
public WorkManagerRuntimeMBean[] getWorkManagerRuntimes()
ComponentRuntimeMBean
Get the runtime mbeans for all work managers defined in this component
getWorkManagerRuntimes
in interface ComponentRuntimeMBean
public boolean addWorkManagerRuntime(WorkManagerRuntimeMBean wmRuntime)
ComponentRuntimeMBean
Adds the RuntimeMBean for a WorkManager defined in this component
addWorkManagerRuntime
in interface ComponentRuntimeMBean
public void setDeploymentState(int state)
ComponentRuntimeMBean
Sets the value of the deploymentState attribute.
setDeploymentState
in interface ComponentRuntimeMBean
state
- The new deploymentState valueComponentRuntimeMBean.getDeploymentState()
public int getDeploymentState()
ComponentRuntimeMBean
The current deployment state of the module.
A module can be in one and only one of the following states. State can be changed via deployment or administrator console.
getDeploymentState
in interface ComponentRuntimeMBean
ComponentRuntimeMBean.setDeploymentState(int)
public java.lang.String getModuleId()
ComponentRuntimeMBean
Returns the identifier for this Component. The identifier is unique within the application.
Typical modules will use the URI for their id. Web Modules will return their context-root since the web-uri may not be unique within an EAR.
getModuleId
in interface ComponentRuntimeMBean