|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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 java.lang.String |
THREAD_OWNING_MSGDeprecated. |
static java.lang.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(java.lang.String sId)Deprecated. Constructor |
|
| Method Summary | |
|---|---|
protected void |
logThreadStackTraces(java.lang.String sId, AbstractHttpSessionCollection collection)Deprecated. |
void |
readExternal(java.io.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 java.lang.StringBuilder |
threadStackTrace(java.lang.Thread t)Deprecated. Create a StringBuilder which contains the stacktrace for the Thread argument |
void |
writeExternal(java.io.DataOutput out)Deprecated. Save the contents of this object by storing the object's state into the passed DataOutput object. |
protected void |
writeToLog(java.lang.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 java.lang.String THREAD_OWNING_MSG
public static final java.lang.String THREADS_OWNING_MSG
| Constructor Detail |
|---|
public LogThreadsHoldingLockAgent()
public LogThreadsHoldingLockAgent(java.lang.String sId)
sId - session id| Method Detail |
|---|
public void run()
run in interface Invocablerun in interface java.lang.RunnableThread.run()
protected void logThreadStackTraces(java.lang.String sId,
AbstractHttpSessionCollection collection)
protected void writeToLog(java.lang.StringBuilder s)
s - the string to logprotected java.lang.StringBuilder threadStackTrace(java.lang.Thread t)
t - the Thread
public void readExternal(java.io.DataInput in)
throws java.io.IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore the state of this objectjava.io.IOException - if an I/O exception occursjava.io.NotActiveException - if the object is not in its initial state, and therefore cannot be deserialized into
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object tojava.io.IOException - if an I/O exception occurs
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||