java.lang.Objectcom.ibm.commerce.ras.DDThreadContext
This class contains thread specific information for logging and for double lick handling. It is for internal use only.
Field Summary | |
static java.lang.String | _STR_Event_Response |
static java.lang.String | _STR_Event_Terminate |
static java.lang.String | _STR_Event_TerminateAll |
static java.lang.String | _STR_PostEvent |
static java.lang.String | _STR_ThreadState_End |
static java.lang.String | _STR_ThreadState_Running |
static java.lang.String | _STR_ThreadState_Waiting |
static java.lang.String | _STR_WaitEvent |
Constructor Summary | |
DDThreadContext() DoubleClickContext constructor comment. |
Method Summary | |
java.lang.String | debugString() |
DDThreadContext | getCallerCtxt() Returns the callerCtxt. |
int | getCommandIdentifier() Insert the method's description here. |
java.lang.String | getCommandName() Insert the method's description here. |
boolean | getDoubleClickCheckEnabled() Gets the doubleClickCheckEnabled |
java.lang.String | getEvent() Insert the method's description here. |
java.lang.Object | getEventData() Insert the method's description here. |
java.lang.String | getKey() Insert the method's description here. |
int | getOutstandingRequestCount() Gets the outstandingRequestCount |
DDThreadContext | getPrevCtxt() Insert the method's description here. |
boolean | getRegistered() Gets the registered |
javax.servlet.http.HttpServletRequest | getRequest() Insert the method's description here. |
javax.servlet.http.HttpServletResponse | getResponse() Insert the method's description here. |
java.lang.Thread | getThread() Insert the method's description here. |
java.lang.Integer | getThreadId() Insert the method's description here. |
java.lang.String | getThreadIdInHex() |
java.lang.String | getThreadName() Insert the method's description here. |
java.lang.String | getThreadState() Insert the method's description here. |
java.lang.String | getThreadTraceId() Insert the method's description here. |
java.lang.Long | getTraceId() Insert the method's description here. |
java.lang.String | getUniqueSessionId() Insert the method's description here. |
boolean | isStoredResponse() Insert the method's description here. |
void | postEvent(java.lang.String event) Insert the method's description here. |
void | postEvent(java.lang.String newEvent, java.lang.Object data) Insert the method's description here. |
void | reset() Insert the method's description here. |
void | setCallerCtxt(DDThreadContext callerCtxt) Sets the callerCtxt. |
void | setCommandIdentifier(int newCommandIdentifier) Insert the method's description here. |
void | setCommandName(java.lang.String newCommandName) Insert the method's description here. |
void | setDoubleClickCheckEnabled(boolean doubleClickCheckEnabled) Sets the doubleClickCheckEnabled |
void | setEvent(java.lang.String newEvent) Insert the method's description here. |
void | setEventData(java.lang.Object newEventData) Insert the method's description here. |
void | setKey(java.lang.String key) Sets the key. |
void | setOutstandingRequestCount(int outstandingRequestCount) Sets the outstandingRequestCount |
void | setPrevCtxt(DDThreadContext newPrevCtxt) Insert the method's description here. |
void | setRegistered(boolean registered) Sets the registered |
void | setRequest(javax.servlet.http.HttpServletRequest newRequest) Insert the method's description here. |
void | setResponse(javax.servlet.http.HttpServletResponse newResponse) Insert the method's description here. |
void | setStoredResponse(boolean newStoredResponse) Insert the method's description here. |
void | setThread(java.lang.Thread newThread) Insert the method's description here. |
void | setThreadId(java.lang.Integer newThreadId) Insert the method's description here. |
void | setThreadState(java.lang.String newThreadState) Insert the method's description here. |
void | setTraceId(java.lang.Long newTraceId) Insert the method's description here. |
void | setUniqueSessionId(java.lang.String newUniqueSessionId) Insert the method's description here. |
java.lang.String | toString() Insert the method's description here. |
java.lang.String | waitEvent() Insert the method's description here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String _STR_PostEvent
public static final java.lang.String _STR_WaitEvent
public static final java.lang.String _STR_Event_Terminate
public static final java.lang.String _STR_Event_Response
public static final java.lang.String _STR_Event_TerminateAll
public static final java.lang.String _STR_ThreadState_Running
public static final java.lang.String _STR_ThreadState_Waiting
public static final java.lang.String _STR_ThreadState_End
Constructor Detail |
public DDThreadContext()
Method Detail |
public int getCommandIdentifier()
public java.lang.String getCommandName()
public java.lang.String getEvent()
public java.lang.Object getEventData()
public java.lang.String getKey()
public DDThreadContext getPrevCtxt()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public java.lang.Thread getThread()
public java.lang.Integer getThreadId()
public java.lang.String getThreadState()
public java.lang.String getThreadIdInHex()
public java.lang.String getThreadTraceId()
public java.lang.Long getTraceId()
public java.lang.String getThreadName()
public java.lang.String getUniqueSessionId()
public boolean isStoredResponse()
public void postEvent(java.lang.String event)
public void postEvent(java.lang.String newEvent, java.lang.Object data)
public void reset()
public void setCommandIdentifier(int newCommandIdentifier)
public void setCommandName(java.lang.String newCommandName)
public void setEvent(java.lang.String newEvent)
public void setEventData(java.lang.Object newEventData)
public void setPrevCtxt(DDThreadContext newPrevCtxt)
public void setRequest(javax.servlet.http.HttpServletRequest newRequest)
public void setResponse(javax.servlet.http.HttpServletResponse newResponse)
public void setStoredResponse(boolean newStoredResponse)
public void setThread(java.lang.Thread newThread)
public void setThreadId(java.lang.Integer newThreadId)
public void setThreadState(java.lang.String newThreadState)
public void setTraceId(java.lang.Long newTraceId)
public void setUniqueSessionId(java.lang.String newUniqueSessionId)
public java.lang.String toString()
public java.lang.String waitEvent()
public boolean getDoubleClickCheckEnabled()
public void setDoubleClickCheckEnabled(boolean doubleClickCheckEnabled)
public int getOutstandingRequestCount()
public void setOutstandingRequestCount(int outstandingRequestCount)
public boolean getRegistered()
public void setRegistered(boolean registered)
public void setKey(java.lang.String key)
public java.lang.String debugString()
public DDThreadContext getCallerCtxt()
public void setCallerCtxt(DDThreadContext callerCtxt)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.