/** * Get the string ID for the current thread. * @return The thread id */ public static String getThreadId() { return getThreadId(Thread.currentThread()); }
public static final synchronized CheckedAction get () throws SystemException { if (otsCheckedAction != null) { return (CheckedAction) otsCheckedAction.get(ThreadUtil.getThreadId()); } else return null; }
/** * Get the string ID for the current thread. * @return The thread id */ public static String getThreadId() { return getThreadId(Thread.currentThread()) ; }
/** * Get the string ID for the current thread. * @return The thread id */ public static String getThreadId() { return getThreadId(Thread.currentThread()) ; }
/** * Get the string ID for the current thread. * @return The thread id */ public static String getThreadId() { return getThreadId(Thread.currentThread()); }
/** * Get the string ID for the current thread. * @return The thread id */ public static String getThreadId() { return getThreadId(Thread.currentThread()); }
public static final synchronized void remove () throws SystemException { otsCheckedAction.remove(ThreadUtil.getThreadId()); }
public static final synchronized void set (CheckedAction ca) throws SystemException { if (otsCheckedAction == null) otsCheckedAction = new Hashtable<String, CheckedAction>(); otsCheckedAction.put(ThreadUtil.getThreadId(), ca); }
public static final synchronized void set (CheckedAction ca) throws SystemException { if (otsCheckedAction == null) otsCheckedAction = new Hashtable(); otsCheckedAction.put(ThreadUtil.getThreadId(), ca); }
public static BasicAction popAction (boolean unregister) throws EmptyStackException { return popAction(ThreadUtil.getThreadId(), unregister); }
public void finalize () { if (action != null) { action.removeChildThread(ThreadUtil.getThreadId(this)); action = null; } }
public static BasicAction popAction (boolean unregister) throws NoSuchElementException { return popAction(ThreadUtil.getThreadId(), unregister); }
/** * Remove a child thread. The current thread is removed. * * @return <code>true</code> if successful, <code>false</code> * otherwise. */ public final boolean removeChildThread () // current thread { return removeChildThread(ThreadUtil.getThreadId()); }
public static BasicAction popAction (boolean unregister) throws EmptyStackException { return popAction(ThreadUtil.getThreadId(), unregister); }
public static BasicAction popAction (boolean unregister) throws EmptyStackException { return popAction(ThreadUtil.getThreadId(), unregister); }
public static BasicAction popAction (boolean unregister) throws NoSuchElementException { return popAction(ThreadUtil.getThreadId(), unregister); }
public static BasicAction popAction (boolean unregister) throws NoSuchElementException { return popAction(ThreadUtil.getThreadId(), unregister); }
/** * Remove a child thread. The current thread is removed. * * @return <code>true</code> if successful, <code>false</code> * otherwise. */ public final boolean removeChildThread () // current thread { return removeChildThread(ThreadUtil.getThreadId(Thread.currentThread())); }
public static BasicAction popAction () throws EmptyStackException { return popAction(ThreadUtil.getThreadId(), true); }
public static BasicAction popAction () throws EmptyStackException { return popAction(ThreadUtil.getThreadId(), true); }