|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdapterRuntimeMBean
MBean for retrieving per-managed-server information such as per-server adapter instance state and statistics. If summary statistics are desired, use the AdapterSummaryMBean instead.
Method Summary | |
---|---|
String |
getAdapterID()
ID of the Adapter instance this MBean represents as a string (uses appName and the qualified name of the ApplicationView). |
Object |
getCauseOfCurrentState()
The throwable/exception or String description that caused the AppView to be in the current state (‘Deploy Failed’ and ‘Suspended’ only) or null if the AppView is in none of these states. |
ConnectionPoolStatistics |
getConnectionPoolStatisticsForFactory(String factoryName)
Get the ConnectorConnectionPoolRuntimeMBean describing the runtime state of the connection pool for the given connection factory |
String[] |
getDependentAppViewList()
A list of AppView IDs representing all the AppViews depending on this adapter instance (for events, services or design-time) on this server. |
Integer |
getEventCount(String eventType)
Number of events delivered of the given type. |
Integer |
getEventErrorCount(String eventType)
Number of event delivery errors encountered for the given type (or all types if eventType is null). |
Long |
getLastEventDeliveryTime()
The system time (in milliseconds) at which the most recent event was delivered (or –1 if none have been delivered). |
Long |
getLastServiceInvocationTime()
The system time (in milliseconds) at which the most recent service invocation occurred (or –1 if no services have been invoked). |
Long |
getServiceAverageElapsedTime(String serviceName)
Average elapsed time (in milliseconds) for service invocations of the given service (or all services if serviceName=null). |
Integer |
getServiceCount(String serviceName)
Number of service invocations for the given service (or all services if serviceName=null). |
Integer |
getServiceErrorCount(String serviceName)
Number of service invocation errors encountered for the given service (or all services if serviceName=null) |
Integer |
getState()
State for this adapter instance on this server. |
ApplicationViewStatistics |
getStats()
Returns a snapshot of the summary stats for all dependent AppViews for this adapter instance. |
Integer |
getSuspendedAsyncServiceCount(String serviceName)
Number of async service requests for the given service (or all services if serviceName=null) that have been ‘suspended’ due to the AppView being suspended. |
Integer |
getSuspendedEventCount(String eventType)
Number of events of the given type (or all types if eventType=null) that have been ‘suspended’ due to the Adapter instance being suspended. |
Long |
getTimeOfStateChange()
Gets the last time the state of this AppView changed. |
void |
redeployDeployPhase()
Force the redeploy (deploy only) of this adapter instance on this local server. |
void |
redeployUndeployPhase()
Force the redeploy (undeploy only) of this adapter instance on this local server. |
void |
resume()
|
void |
stopInboundMessaging()
|
void |
suspend()
|
Methods inherited from interface weblogic.management.runtime.RuntimeMBean |
---|
addPropertyChangeListener, preDeregister, removePropertyChangeListener |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
String getAdapterID()
Integer getState()
Object getCauseOfCurrentState()
Long getTimeOfStateChange()
void suspend() throws javax.management.MBeanException
javax.management.MBeanException
void resume() throws javax.management.MBeanException
javax.management.MBeanException
void stopInboundMessaging() throws javax.management.MBeanException
javax.management.MBeanException
void redeployUndeployPhase() throws javax.management.MBeanException
javax.management.MBeanException
void redeployDeployPhase() throws javax.management.MBeanException
javax.management.MBeanException
ApplicationViewStatistics getStats() throws javax.management.MBeanException
javax.management.MBeanException
String[] getDependentAppViewList() throws javax.management.MBeanException
javax.management.MBeanException
Integer getEventCount(String eventType) throws javax.management.MBeanException
javax.management.MBeanException
Integer getSuspendedEventCount(String eventType) throws javax.management.MBeanException
javax.management.MBeanException
Integer getEventErrorCount(String eventType) throws javax.management.MBeanException
javax.management.MBeanException
Long getLastEventDeliveryTime() throws javax.management.MBeanException
javax.management.MBeanException
Integer getServiceCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Integer getServiceErrorCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Long getServiceAverageElapsedTime(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Integer getSuspendedAsyncServiceCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Long getLastServiceInvocationTime() throws javax.management.MBeanException
javax.management.MBeanException
ConnectionPoolStatistics getConnectionPoolStatisticsForFactory(String factoryName) throws javax.management.MBeanException
javax.management.MBeanException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |