com.liferay.portal.kernel.executor
Class CopyThreadLocalCallable<T>
java.lang.Object
com.liferay.portal.kernel.executor.CopyThreadLocalCallable<T>
- All Implemented Interfaces:
- java.util.concurrent.Callable<T>
public abstract class CopyThreadLocalCallable<T>
- extends java.lang.Object
- implements java.util.concurrent.Callable<T>
- Author:
- Shuyang Zhou
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyThreadLocalCallable
public CopyThreadLocalCallable(boolean readOnly,
boolean clearOnExit)
CopyThreadLocalCallable
public CopyThreadLocalCallable(ThreadLocalBinder threadLocalBinder,
boolean readOnly,
boolean clearOnExit)
call
public final T call()
throws java.lang.Exception
- Specified by:
call in interface java.util.concurrent.Callable<T>
- Throws:
java.lang.Exception
doCall
public abstract T doCall()
throws java.lang.Exception
- Throws:
java.lang.Exception