|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessRuntimeMBean
MBean for accessing runtime information about processes. There is one ProcessRuntimeMBean instance for all processes.
Field Summary | |
---|---|
static long |
CACHING_STUB_SVUID
The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub). |
Method Summary | |
---|---|
double |
getAvgExecTime()
|
ChildInstance[] |
getChildProcessDataFromTracking(String parentProcessInstance)
Returns information on child process instances called by given process instance |
int |
getCount(ProcessInstanceQuery query)
Returns the number of instances that satisfy the given query. |
ProcessVariableValue |
getInitialMessage(String serviceURI,
String instanceId)
Returns the message which started a process, or null if the process was not started by an incoming message. |
String |
getLabel(String instanceId)
Returns the current value of a process's label. |
Object |
getNodeInstanceDataFromTracking(String serviceURI,
String instanceId)
Returns all info from ProcessTracking data as a join of start node events and end/abort node events. |
int |
getNumAborted()
|
int |
getNumAll()
|
int |
getNumCompleted()
|
int |
getNumExceededSLA()
|
int |
getNumFrozen()
|
int |
getNumRunning()
|
int |
getNumSuspended()
|
int |
getNumTerminated()
|
ParentInstance[] |
getParentProcessDataFromTracking(String childProcessInstance)
Returns information on parent process instance that called the given process instance |
ProcessNodeInfo[] |
getPendingActivities(String serviceURI,
String instanceId)
Returns an array of nodes where an instance is currently blocked |
WrappedThrowable[] |
getProcessExceptions(String processURI,
String instanceID)
Returns a list of fatal exception for the instance. |
List |
getProcessInstanceInfo(String[] ids)
Returns information about the given process instances |
ProcessInstanceInfo |
getProcessInstanceInfo(String id,
boolean includeDetails)
Returns information about a process instance. |
ProcessInstanceQueryResult |
getProcessInstances(ProcessInstanceQuery query)
Returns ids of process instances that satisfy the given query embedded in the ProcessInstanceQueryResult object. |
ProcessVariableValue |
getProcessVariable(String serviceURI,
String instanceId,
String variableName)
Gets the current value of a process variable |
ProcessStatistics[] |
getStatistics()
Returns statistics for all process types for which there is at least one record in the summary table. |
ProcessStatistics |
getStatistics(String serviceURI,
long minStartTime,
long maxStartTime,
boolean onlyActiveInstances)
Returns statistics for a process type. |
ProcessStatus |
getStatus(String instanceId)
Returns the status of an instance. |
Map |
getVariableSummary(String serviceURI,
String instanceId)
Returns summary values for process variables. |
void |
resume(String serviceURI,
String instanceId)
Resumes a suspended process instance |
void |
suspend(String serviceURI,
String instanceId)
Suspends a process instance |
void |
terminate(String serviceURI,
String instanceId)
Terminates a process instance |
void |
unfreeze(String serviceURI,
String instanceId)
Unfreezes a frozen instance |
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 |
Field Detail |
---|
static final long CACHING_STUB_SVUID
- remove an existing method.
- change the signature of an existing "getter" or "setter" method.
- change the signature of an existing "boolean getter", i.e, "boolean isEnabled()"
Otherwise you don't need to change this value. For instance you can add new methods, or you can change the signature of methods that don't start with "get", "set" or "is". If you are in doubt then change the SVUID. It is a good idea to increment this value when changing.
Method Detail |
---|
ProcessStatistics getStatistics(String serviceURI, long minStartTime, long maxStartTime, boolean onlyActiveInstances) throws javax.management.MBeanException
serviceURI
- the service URI for the processminStartTime
- include only instances that have started after this time. Use 0 if
this is not applicable to the filtering criteria.maxStartTime
- include only instances that have started before this time. Use
Long.MAX_VALUE
if this is not applicable ot the filtering criteria.onlyActiveInstances
- include only active instances, namely instances that are running, suspended, or frozen.
if false all instances are considered.
javax.management.MBeanException
ProcessStatistics[] getStatistics() throws javax.management.MBeanException
javax.management.MBeanException
void suspend(String serviceURI, String instanceId) throws javax.management.MBeanException, ProcessInstanceNotFoundException, ProcessNotFoundException
serviceURI
- service URI for the processinstanceId
- the id of the instance
javax.management.MBeanException
ProcessInstanceNotFoundException
ProcessNotFoundException
void resume(String serviceURI, String instanceId) throws javax.management.MBeanException, ProcessNotFoundException, ProcessInstanceNotFoundException
serviceURI
- service URI for the processinstanceId
- the id of the instance
javax.management.MBeanException
ProcessNotFoundException
ProcessInstanceNotFoundException
void terminate(String serviceURI, String instanceId) throws javax.management.MBeanException, ProcessNotFoundException, ProcessInstanceNotFoundException
serviceURI
- service URI for the processinstanceId
- the id of the instance
javax.management.MBeanException
ProcessNotFoundException
ProcessInstanceNotFoundException
void unfreeze(String serviceURI, String instanceId) throws javax.management.MBeanException, ProcessNotFoundException, ProcessInstanceNotFoundException
serviceURI
- service URI for the processinstanceId
- the id of the instance
javax.management.MBeanException
ProcessNotFoundException
ProcessInstanceNotFoundException
ProcessStatus getStatus(String instanceId) throws javax.management.MBeanException
instanceId
- the id of the instance
javax.management.MBeanException
ProcessNodeInfo[] getPendingActivities(String serviceURI, String instanceId) throws javax.management.MBeanException, ProcessNotFoundException, ProcessInstanceNotFoundException
serviceURI
- service URI for the processinstanceId
- the id of the instance
javax.management.MBeanException
ProcessNotFoundException
ProcessInstanceNotFoundException
Map getVariableSummary(String serviceURI, String instanceId) throws ProcessInstanceNotFoundException, ProcessNotFoundException, javax.management.MBeanException
ProcessVariableValue
containins a short string representation of the value.
serviceURI
- service URI of the processinstanceId
- id of the instance
ProcessNotFoundException
- when the given process is not found
ProcessInstanceNotFoundException
- when the given instance was not found
javax.management.MBeanException
- any other exception is wrapped with a ManagementExceptionProcessVariableValue getProcessVariable(String serviceURI, String instanceId, String variableName) throws javax.management.MBeanException, NoSuchFieldException, ProcessInstanceNotFoundException, ProcessNotFoundException
serviceURI
- service URI of the processinstanceId
- the id of the instance
javax.management.MBeanException
NoSuchFieldException
ProcessInstanceNotFoundException
ProcessNotFoundException
ProcessVariableValue getInitialMessage(String serviceURI, String instanceId) throws javax.management.MBeanException, ProcessNotFoundException, ProcessInstanceNotFoundException
serviceURI
- service URI of the processinstanceId
- id of the process instance
javax.management.MBeanException
ProcessNotFoundException
ProcessInstanceNotFoundException
String getLabel(String instanceId) throws javax.management.MBeanException, ProcessInstanceNotFoundException
instanceId
- the id of the instance
javax.management.MBeanException
ProcessInstanceNotFoundException
ProcessInstanceQueryResult getProcessInstances(ProcessInstanceQuery query) throws javax.management.MBeanException
ProcessInstanceQueryResult
object.
query
-
javax.management.MBeanException
ProcessInstanceInfo getProcessInstanceInfo(String id, boolean includeDetails) throws javax.management.MBeanException
id
- the id of the process instance.includeDetails
- whether to include detailed information in the result. The detail information
consists of variable values, pending activities, and initial message.
null
if no information could
be found for the given instance
javax.management.MBeanException
int getCount(ProcessInstanceQuery query) throws javax.management.MBeanException
javax.management.MBeanException
List getProcessInstanceInfo(String[] ids) throws javax.management.MBeanException
ids
- an array of process instance ids
ProcessInstanceInfo
objects. The result could have less element than the
number of instance ids. This happens If no information could be found for an instance.
javax.management.MBeanException
Object getNodeInstanceDataFromTracking(String serviceURI, String instanceId) throws javax.management.MBeanException
javax.management.MBeanException
ChildInstance[] getChildProcessDataFromTracking(String parentProcessInstance) throws javax.management.MBeanException
javax.management.MBeanException
ParentInstance[] getParentProcessDataFromTracking(String childProcessInstance) throws javax.management.MBeanException
javax.management.MBeanException
WrappedThrowable[] getProcessExceptions(String processURI, String instanceID) throws javax.management.MBeanException
javax.management.MBeanException
int getNumRunning()
int getNumSuspended()
int getNumAborted()
int getNumCompleted()
int getNumExceededSLA()
int getNumFrozen()
int getNumTerminated()
int getNumAll()
double getAvgExecTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |