|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MethodContextMBean
Detailed information related to a method server request context.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
String[] |
dumpStackTrace()
Returns detailed information on the thread running this context (only functions until context is completed) Supported API: true |
void |
emailStackTrace(String addressesOrEmailList,
String subject)
E-mails detailed information on the thread running this context (only functions until context is completed) Supported API: true |
String |
getAccessLogDetail()
Extra detail on method context beyond target class and method (e.g. |
String[] |
getArgs()
Arguments provided to TargetMethod Supported API: true |
String[] |
getArgTypes()
Types of arguments associated with TargetMethod Supported API: true |
double |
getAverageActiveContexts()
Average contexts active during lifespan of this context Supported API: true |
double |
getBlockedSeconds()
Approximate time context thread was in blocked state; 0 unless thread contention monitoring is enabled Supported API: true |
String |
getClientHost()
Host from which RMI request came in the case of a RMI request Supported API: true |
double |
getElapsedExecutionSeconds()
Time spent executing in method context Supported API: true |
double |
getElapsedJDBCSeconds()
Total time spent (in seconds) to process JBC calls. |
double |
getElapsedJNDISeconds()
Total time spent (in seconds) to process JNDI calls. |
double |
getElapsedMarshalSeconds()
Time spent marshaling results (RMI case only) Supported API: true |
double |
getElapsedTotalCpuSeconds()
Overall CPU time spent in context Supported API: true |
double |
getElapsedTotalSeconds()
Total time spent in context Supported API: true |
double |
getElapsedTotalUserSeconds()
User CPU time spent in context Supported API: true |
double |
getElapsedUnmarshalSeconds()
Time spent (in seconds) unmarshaling arguments (RMI case only) Supported API: true |
String |
getExceptionClass()
Class name of exception thrown by context Supported API: true |
String |
getExceptionMessage()
Message of exception thrown by context Supported API: true |
String[] |
getExceptionStackTrace()
Stack trace of exception thrown by context Supported API: true |
String |
getExecutionPhase()
Phase of execution method context is currently in Supported API: true |
String |
getId()
Id of method context Supported API: true |
String |
getIeContextId()
Id of the most recently associated IeContext, if one exists; -1 otherwise Supported API: true |
String[] |
getIeContextIds()
Array of associated IeContext Ids, if they exists Supported API: true |
double |
getJDBCConnectionWaitTimeSeconds()
Time spent (in seconds) waiting to acquire a JDBC connection. |
String[] |
getJDBCDatabaseSessionIds()
List of JDBC database session IDs used. |
long |
getJDBCQueryCalls()
Total number of JDBC query calls. |
long |
getJNDICalls()
Number of JNDI calls invoked. |
CompositeData |
getObjectCounterData()
Data about WTObject allocation associated with this context; no data will be collected unless MethodContextMonitorMBean's ObjectCounterEnabled attribute is true Supported API: true |
double |
getPercentageOfElapsedTimeInJDBC()
Percentage of total time spent processing JDBC calls. |
double |
getPercentageOfElapsedTimeInJDBCConnWait()
Percentage of total time spent waiting to acquire a JDBC connection. |
double |
getPercentageOfElapsedTimeInJNDI()
Percentage of total time spent processing JNDI calls. |
double |
getPercentageOfProcessCpuTime()
Request CPU time as a percent of method server process during lifespan of this context; only meaningful if MethodContextMonitorMBean's ProcessCpuTimeMonitoringEnabled attribute is true Supported API: true |
double |
getPercentageOfTotalCpuTime()
Context CPU time as a percent of overall during lifespan of this context Supported API: true |
double |
getProcessPercentageOfTotalCpuTime()
Method server process CPU time as a percent of overall during lifespan of this context; only meaningful if MethodContextMonitorMBean's ProcessCpuTimeMonitoringEnabled attribute is true Supported API: true |
int |
getRedirects()
Number of times context has been redirected Supported API: true |
String |
getRemoteAddr()
IP address of remote client, if known Supported API: true |
String |
getResultClass()
Classname of result Supported API: true |
String |
getServletRequestId()
Id of associated servlet request, if known Supported API: true |
String |
getSessionId()
Id of SessionContext associated with method context Supported API: true |
Timestamp |
getStartTime()
Time method context started Supported API: true |
String |
getSynopsis()
Combination of target class and method, where available, and AccessLogDetail Supported API: true |
String |
getTargetClass()
Target class of method context Supported API: true |
String |
getTargetMethod()
Target method of method context Supported API: true |
long |
getThreadId()
Id of thread last associated with method context Supported API: true |
String |
getThreadName()
Name of thread last associated with method context Supported API: true |
String |
getUserName()
Name of user method context is operating on behalf of Supported API: true |
double |
getWaitedSeconds()
Approximate time context thread was in waiting or timed waiting state; 0 unless thread contention monitoring is enabled Supported API: true |
long |
getWTObjectsConstructed()
Count of WTObjects created by this context; no data will be collected unless MethodContextMonitorMBean's ObjectCounterEnabled attribute is true and if there is no data this attribute's value will be -1 Supported API: true |
long |
getWTObjectsFinalized()
Count of WTObjects created by this context which have been finalized; no data will be collected unless MethodContextMonitorMBean's ObjectCounterEnabled attribute is true and if there is no data this attribute's value will be -1 Supported API: true |
void |
interrupt()
If the method context is not completed, interrupts its thread Supported API: true |
boolean |
isCompleted()
Whether method context has completed Supported API: true |
boolean |
isError()
Whether an exception (other than an AuthenticationException) occured in this context Supported API: true |
boolean |
isRedirected()
Whether method context has been (or is being) redirected Supported API: true |
boolean |
isRMICall()
Whether method context is directly due to an RMI call Supported API: true |
| Method Detail |
|---|
String getId()
long getThreadId()
String getThreadName()
String getSessionId()
String getUserName()
String getTargetClass()
String getTargetMethod()
String getResultClass()
String getSynopsis()
String getAccessLogDetail()
int getRedirects()
boolean isRMICall()
String[] getArgTypes()
String[] getArgs()
String getIeContextId()
String[] getIeContextIds()
String getServletRequestId()
String getRemoteAddr()
String getClientHost()
Timestamp getStartTime()
boolean isCompleted()
boolean isRedirected()
String getExecutionPhase()
double getElapsedUnmarshalSeconds()
double getElapsedExecutionSeconds()
double getElapsedMarshalSeconds()
double getElapsedTotalSeconds()
double getElapsedTotalCpuSeconds()
double getElapsedTotalUserSeconds()
double getBlockedSeconds()
double getWaitedSeconds()
double getPercentageOfTotalCpuTime()
double getProcessPercentageOfTotalCpuTime()
double getPercentageOfProcessCpuTime()
double getAverageActiveContexts()
long getJNDICalls()
double getElapsedJNDISeconds()
double getPercentageOfElapsedTimeInJNDI()
long getJDBCQueryCalls()
double getElapsedJDBCSeconds()
double getPercentageOfElapsedTimeInJDBC()
double getJDBCConnectionWaitTimeSeconds()
double getPercentageOfElapsedTimeInJDBCConnWait()
String[] getJDBCDatabaseSessionIds()
boolean isError()
String getExceptionClass()
String getExceptionMessage()
String[] getExceptionStackTrace()
long getWTObjectsConstructed()
long getWTObjectsFinalized()
CompositeData getObjectCounterData()
throws OpenDataException
OpenDataExceptionString[] dumpStackTrace()
void emailStackTrace(String addressesOrEmailList,
String subject)
throws IOException,
SAXException
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mail
IOException
SAXExceptionvoid interrupt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||