|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.AbstractInvocable
com.tangosol.coherence.servlet.LogThreadsHoldingLockAgent
Deprecated. In releases following 3.6 customization will be declarative.
public class LogThreadsHoldingLockAgent
An invocation service that logs the stacktraces of all threads holding a lock for a session.
| Field Summary | |
|---|---|
static String |
THREAD_OWNING_MSGDeprecated. |
static String |
THREADS_OWNING_MSGDeprecated. |
| Fields inherited from interface com.tangosol.net.PriorityTask |
|---|
SCHEDULE_FIRST, SCHEDULE_IMMEDIATE, SCHEDULE_STANDARD, TIMEOUT_DEFAULT, TIMEOUT_NONE |
| Constructor Summary | |
|---|---|
LogThreadsHoldingLockAgent()Deprecated. Constructor |
|
LogThreadsHoldingLockAgent(String sId)Deprecated. Constructor |
|
| Method Summary | |
|---|---|
protected void |
logThreadStackTraces(String sId, AbstractHttpSessionCollection collection)Deprecated. |
void |
readExternal(DataInput in)Deprecated. Restore the contents of this object by loading the object's state from the passed DataInput object. |
void |
run()Deprecated. Log the stacktraces of all the threads holding a lock for the session with id m_sId |
protected StringBuilder |
threadStackTrace(Thread t)Deprecated. Create a StringBuilder which contains the stacktrace for the Thread argument |
void |
writeExternal(DataOutput out)Deprecated. Save the contents of this object by storing the object's state into the passed DataOutput object. |
protected void |
writeToLog(StringBuilder s)Deprecated. Delegating method for logging for mock testing purposes |
| Methods inherited from class com.tangosol.net.AbstractInvocable |
|---|
getExecutionTimeoutMillis, getRequestTimeoutMillis, getResult, getSchedulingPriority, getService, init, isRespondInOrder, runCanceled, setResult |
| Field Detail |
|---|
public static final String THREAD_OWNING_MSG
public static final String THREADS_OWNING_MSG
| Constructor Detail |
|---|
public LogThreadsHoldingLockAgent()
public LogThreadsHoldingLockAgent(String sId)
sId - session id| Method Detail |
|---|
public void run()
run in interface Invocablerun in interface RunnableThread.run()
protected void logThreadStackTraces(String sId,
AbstractHttpSessionCollection collection)
protected void writeToLog(StringBuilder s)
s - the string to logprotected StringBuilder threadStackTrace(Thread t)
t - the Thread
public void readExternal(DataInput in)
throws IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore the state of this objectIOException - if an I/O exception occursNotActiveException - if the object is not in its initial state, and therefore cannot be deserialized into
public void writeExternal(DataOutput out)
throws IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object toIOException - if an I/O exception occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||