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 TypeMethodDescriptionvoidafterExecute(Runnable runnable, Throwable throwable) voidbeforeExecute(Thread thread, Runnable runnable) void
-
Constructor Details
-
ThreadPoolHandlerAdapter
public ThreadPoolHandlerAdapter()
-
-
Method Details
-
afterExecute
- Specified by:
afterExecutein interfaceThreadPoolHandler
-
beforeExecute
- Specified by:
beforeExecutein interfaceThreadPoolHandler
-
terminated
public void terminated()- Specified by:
terminatedin interfaceThreadPoolHandler
-