com.ibm.commerce.ras
Class DDThreadContextManager

java.lang.Object
  |
  +--com.ibm.commerce.ras.DDThreadContextManager

public class DDThreadContextManager
extends java.lang.Object

This class is handles the thread context used by the double click handler. This class is for internal use only.


Constructor Summary
DDThreadContextManager()
          DoubleClickContext constructor comment.
 
Method Summary
static java.lang.String asyncDumpThreadContextsToFile(java.lang.String dir)
           
static  DDThreadContext createDummyThreadContext(java.lang.Thread thread, java.lang.String sessionId)
          Insert the method's description here.
static  DDThreadContext createThreadContext()
          Insert the method's description here.
static  DDThreadContext createThreadContext(java.lang.String sessionId)
          Insert the method's description here.
static  DDThreadContext createThreadContext(java.lang.Thread thread)
          Insert the method's description here.
static  DDThreadContext createThreadContext(java.lang.Thread thread, java.lang.String sessionId)
          Insert the method's description here.
static void destroy( DDThreadContext tctxt)
          Insert the method's description here.
static java.lang.StringBuffer dumpThreadContexts(boolean sync)
           
static java.lang.String dumpThreadContextsToFile(java.lang.String dir, boolean sync)
          Dumps the thread contexts to a file.
static java.lang.Long getIdentifier()
           
static  DDThreadContext getThreadContext()
          Insert the method's description here.
static  DDThreadContext getThreadContext(java.lang.Thread thread)
          Insert the method's description here.
static java.lang.Integer getThreadId()
          Insert the method's description here.
static java.lang.Integer getThreadId(java.lang.Thread val)
          Insert the method's description here.
static java.lang.String getThreadSessionId()
          Insert the method's description here.
static java.lang.String getThreadTraceId()
          Insert the method's description here.
static java.lang.Long getTraceId()
          Insert the method's description here.
static void resetThreadContext()
          Insert the method's description here.
static void resetThreadContext(java.lang.Thread thread)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDThreadContextManager

public DDThreadContextManager()
DoubleClickContext constructor comment.
Method Detail

createThreadContext

public static DDThreadContext createThreadContext()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

createThreadContext

public static DDThreadContext createThreadContext(java.lang.String sessionId)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

createThreadContext

public static DDThreadContext createThreadContext(java.lang.Thread thread)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

createThreadContext

public static DDThreadContext createThreadContext(java.lang.Thread thread,
                                                  java.lang.String sessionId)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

createDummyThreadContext

public static DDThreadContext createDummyThreadContext(java.lang.Thread thread,
                                                       java.lang.String sessionId)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

destroy

public static void destroy(DDThreadContext tctxt)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getIdentifier

public static java.lang.Long getIdentifier()

getThreadContext

public static DDThreadContext getThreadContext()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getThreadContext

public static DDThreadContext getThreadContext(java.lang.Thread thread)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getThreadId

public static java.lang.Integer getThreadId()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getThreadId

public static java.lang.Integer getThreadId(java.lang.Thread val)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getThreadSessionId

public static java.lang.String getThreadSessionId()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getThreadTraceId

public static java.lang.String getThreadTraceId()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

getTraceId

public static java.lang.Long getTraceId()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

resetThreadContext

public static void resetThreadContext()
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

resetThreadContext

public static void resetThreadContext(java.lang.Thread thread)
Insert the method's description here. Creation date: (9/22/01 12:25:55 PM)

dumpThreadContexts

public static java.lang.StringBuffer dumpThreadContexts(boolean sync)

dumpThreadContextsToFile

public static java.lang.String dumpThreadContextsToFile(java.lang.String dir,
                                                        boolean sync)
Dumps the thread contexts to a file.
Parameters:
dir - - the directory to dump to
sync - - true if a synchronize dump is required

asyncDumpThreadContextsToFile

public static java.lang.String asyncDumpThreadContextsToFile(java.lang.String dir)