|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppViewRuntimeMBean
MBean for retrieving per-managed-server information such as per-server ApplicationView state and statistics. If summary statistics are desired, use the AppViewSummaryMBean instead.
Method Summary | |
---|---|
String |
getAppViewID()
Name of the ApplicationView this MBean represents (derived from appName and getDescriptor().getQualifiedName().toString(). |
Long |
getAsyncServiceAverageRequestWaitTime()
The average time (in milliseconds) async requests for all services spent waiting on the async request queue. |
Integer |
getAsyncServiceCount(String serviceName)
Number of async service invocations for the given service (or all services if serviceName=null). |
Integer |
getAsyncServiceErrorCount(String serviceName)
Number of async service invocation errors for the given service (or all services if serviceName=null). |
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. |
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 |
getLastEventResetTime()
The system time (in milliseconds) at which the event counters were last reset (or –1) if no reset has been performed. |
Long |
getLastServiceInvocationTime()
The system time (in milliseconds) at which the most recent service invocation occurred (or –1 if no services have been invoked). |
Long |
getLastServiceResetTime()
The system time (in milliseconds) at which the service counters were last reset (or –1) if no reset has been performed. |
Long |
getServiceAverageElapsedTime(String serviceName)
Average elapsed time (in milliseconds) for service invocations of the given service (or all services if serviceName=null). |
Integer |
getState()
State for this app view on this server. |
ApplicationViewStatistics |
getStats()
|
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 AppView being suspended. |
Integer |
getSyncServiceCount(String serviceName)
Number of sync service invocations for the given service (or all services if serviceName=null). |
Integer |
getSyncServiceErrorCount(String serviceName)
Number of sync service invocation errors encountered for the given service (or all services if serviceName=null) |
Long |
getTimeOfStateChange()
Gets the last time the state of this AppView changed. |
void |
recreateGlobalMBeans()
Called from the Admin server in a cluster to recreate the deployment MBean for the AppView. |
void |
redeploy()
Force the redeploy (undeploy only) of this adapter instance on this local server. |
void |
resetEventCounts()
Reset event and event error counts (not suspended count) to zero. |
void |
resetServiceCounts()
Reset all sync/async service/error counts to zero (not suspended async counts). |
void |
resetSuspendedAsyncServiceCounts()
Force the suspended async service counts for all services on this ApplicationView back to zero. |
void |
resume()
|
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 |
---|
Integer getState()
Object getCauseOfCurrentState()
Long getTimeOfStateChange()
void recreateGlobalMBeans() throws javax.management.MBeanException
javax.management.MBeanException
void suspend() throws javax.management.MBeanException
javax.management.MBeanException
void resume() throws javax.management.MBeanException
javax.management.MBeanException
void redeploy() throws javax.management.MBeanException
javax.management.MBeanException
ApplicationViewStatistics getStats() throws javax.management.MBeanException
javax.management.MBeanException
String getAppViewID()
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
void resetEventCounts() throws javax.management.MBeanException
javax.management.MBeanException
Long getLastEventResetTime() throws javax.management.MBeanException
javax.management.MBeanException
Long getLastEventDeliveryTime() throws javax.management.MBeanException
javax.management.MBeanException
Integer getSyncServiceCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Integer getSyncServiceErrorCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Long getServiceAverageElapsedTime(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Integer getAsyncServiceCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Integer getAsyncServiceErrorCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
Integer getSuspendedAsyncServiceCount(String serviceName) throws javax.management.MBeanException
javax.management.MBeanException
void resetSuspendedAsyncServiceCounts() throws javax.management.MBeanException
javax.management.MBeanException
void resetServiceCounts() throws javax.management.MBeanException
javax.management.MBeanException
Long getAsyncServiceAverageRequestWaitTime() throws javax.management.MBeanException
javax.management.MBeanException
Long getLastServiceResetTime() throws javax.management.MBeanException
javax.management.MBeanException
Long getLastServiceInvocationTime() throws javax.management.MBeanException
javax.management.MBeanException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |