Class ThreadPoolHandlerAdapter
Object
com.liferay.portal.kernel.concurrent.ThreadPoolHandlerAdapter
- All Implemented Interfaces:
ThreadPoolHandler
- Direct Known Subclasses:
ClearThreadLocalThreadPoolHandler
- Author:
- Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterExecute
(Runnable runnable, Throwable throwable) void
beforeExecute
(Thread thread, Runnable runnable) void
beforeThreadEnd
(Thread thread) void
beforeThreadStart
(Thread thread) void
-
Constructor Details
-
ThreadPoolHandlerAdapter
public ThreadPoolHandlerAdapter()
-
-
Method Details
-
afterExecute
- Specified by:
afterExecute
in interfaceThreadPoolHandler
-
beforeExecute
- Specified by:
beforeExecute
in interfaceThreadPoolHandler
-
beforeThreadEnd
- Specified by:
beforeThreadEnd
in interfaceThreadPoolHandler
-
beforeThreadStart
- Specified by:
beforeThreadStart
in interfaceThreadPoolHandler
-
terminated
public void terminated()- Specified by:
terminated
in interfaceThreadPoolHandler
-