Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.arjuna.ats.arjuna.utils
Class ThreadUtil

    java.lang.Object
      com.arjuna.ats.arjuna.utils.ThreadUtil

public class ThreadUtil
extends java.lang.Object

Provides utilities to manage thread ids.

Constructor Summary
`ThreadUtil()`

Method Summary
`static java.lang.String` | `getThreadId()` Get the string ID for the current thread.
`static java.lang.String` | `getThreadId(java.lang.Thread thread)` Get the string ID for the specified thread.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ThreadUtil

    public ThreadUtil()

Method Detail

### getThreadId

    public static java.lang.String getThreadId()

  Get the string ID for the current thread.

  Returns:
    The thread id

### getThreadId

    public static java.lang.String getThreadId(java.lang.Thread thread)

  Get the string ID for the specified thread.

  Parameters:
    `thread` - The thread.
  Returns:
    The thread id

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD