java.lang.Object | +--com.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)
newCommandIdentifier
- intpublic void setCommandName(java.lang.String newCommandName)
newCommandName
- java.lang.Stringpublic void setEvent(java.lang.String newEvent)
newEvent
- java.lang.Stringpublic void setEventData(java.lang.Object newEventData)
newEventData
- java.lang.Objectpublic void setPrevCtxt(DDThreadContext newPrevCtxt)
newPrevCtxt
-
com.ibm.commerce.ras.DDThreadContextpublic void setRequest(javax.servlet.http.HttpServletRequest newRequest)
newRequest
-
javax.servlet.http.HttpServletRequestpublic void setResponse(javax.servlet.http.HttpServletResponse newResponse)
newResponse
-
javax.servlet.http.HttpServletResponsepublic void setStoredResponse(boolean newStoredResponse)
newStoredResponse
- booleanpublic void setThread(java.lang.Thread newThread)
newThread
- java.lang.Threadpublic void setThreadId(java.lang.Integer newThreadId)
newThreadId
- java.lang.Integerpublic void setThreadState(java.lang.String newThreadState)
newThreadState
- java.lang.Stringpublic void setTraceId(java.lang.Long newTraceId)
newTraceId
- java.lang.Longpublic void setUniqueSessionId(java.lang.String newUniqueSessionId)
newUniqueSessionId
- java.lang.Stringpublic java.lang.String toString()
toString
in class
java.lang.Object
public java.lang.String waitEvent()
public boolean getDoubleClickCheckEnabled()
public void setDoubleClickCheckEnabled(boolean doubleClickCheckEnabled)
doubleClickCheckEnabled
- The doubleClickCheckEnabled to
setpublic int getOutstandingRequestCount()
public void setOutstandingRequestCount(int outstandingRequestCount)
outstandingRequestCount
- The outstandingRequestCount to
setpublic boolean getRegistered()
public void setRegistered(boolean registered)
registered
- The registered to setpublic void setKey(java.lang.String key)
key
- The key to setpublic java.lang.String debugString()
public DDThreadContext getCallerCtxt()
public void setCallerCtxt(DDThreadContext callerCtxt)
callerCtxt
- The callerCtxt to set