|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecuteThread
Exposes the runtime state of an execute thread.
Method Summary | |
---|---|
String |
getApplicationName()
Returns the application name only, without the version number, using the context class loader of the thread. |
String |
getApplicationVersion()
Returns the application version using the context class loader of the thread. |
String |
getCurrentRequest()
Returns a String representation of the request this thread is currently processing. |
String |
getLastRequest()
Deprecated. 7.0, 2002-Feb-20 -- current request is what counts most |
String |
getModuleName()
Returns the module name using the context class loader of the thread. |
String |
getName()
Returns the name of the ExecuteThread. |
int |
getServicedRequestTotalCount()
Returns the number of requests which have been processed by this queue. |
long |
getStuckThreadActionMaxStuckThreadTime()
If the thread is stuck, returns the configured max stuck thread time (in milliseconds) of the StuckThreadAction returned in getStuckThreadActionName(). |
String |
getStuckThreadActionName()
If the thread is stuck, returns the name of the StuckThreadAction whose stuck thread max time has been exceeded. |
JTATransaction |
getTransaction()
Returns the transaction that the execute thread is currently working on behalf of. |
String |
getUser()
Returns the user the execute thread is currently working on behalf of. |
String |
getWorkManagerName()
Returns the current WorkManager name. |
boolean |
isHogger()
Returns true if the execute thread is being hogged by a
request for much more than the normal execution time as observed by the
scheduler automatically. |
boolean |
isIdle()
Returns true if the execute thread has no work assigned to it. |
boolean |
isStandby()
Returns true if the execute thread is not a part of the active thread pool |
boolean |
isStuck()
Returns true if the execute thread is stuck working on a
request for more than the configured stuck thread max time. |
Method Detail |
---|
String getCurrentRequest()
String getLastRequest()
int getServicedRequestTotalCount()
boolean isIdle()
boolean isStuck()
true
if the execute thread is stuck working on a
request for more than the configured stuck thread max time.
boolean isHogger()
true
if the execute thread is being hogged by a
request for much more than the normal execution time as observed by the
scheduler automatically. If this thread is still busy after the stuck
thread max time, then it is declared as stuck.
boolean isStandby()
JTATransaction getTransaction()
String getUser()
String getName()
String getWorkManagerName()
String getApplicationName()
String getModuleName()
String getApplicationVersion()
String getStuckThreadActionName()
long getStuckThreadActionMaxStuckThreadTime()
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |