Package com.liferay.petra.concurrent
Class ThreadPoolHandlerAdapter
java.lang.Object
com.liferay.petra.concurrent.ThreadPoolHandlerAdapter
- All Implemented Interfaces:
ThreadPoolHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterExecute
(Runnable runnable, Throwable throwable) void
beforeExecute
(Thread thread, Runnable runnable) void
-
Constructor Details
-
ThreadPoolHandlerAdapter
public ThreadPoolHandlerAdapter()
-
-
Method Details
-
afterExecute
- Specified by:
afterExecute
in interfaceThreadPoolHandler
-
beforeExecute
- Specified by:
beforeExecute
in interfaceThreadPoolHandler
-
terminated
public void terminated()- Specified by:
terminated
in interfaceThreadPoolHandler
-