Package com.liferay.petra.concurrent
Class BaseNoticeableExecutorService
java.lang.Object
java.util.concurrent.AbstractExecutorService
com.liferay.petra.concurrent.BaseNoticeableExecutorService
- All Implemented Interfaces:
NoticeableExecutorService
,Executor
,ExecutorService
- Direct Known Subclasses:
NoticeableThreadPoolExecutor
public abstract class BaseNoticeableExecutorService
extends AbstractExecutorService
implements NoticeableExecutorService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> DefaultNoticeableFuture<T>
newTaskFor
(Runnable runnable, T value) protected <T> DefaultNoticeableFuture<T>
newTaskFor
(Callable<T> callable) <T> NoticeableFuture<T>
<T> NoticeableFuture<T>
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow
Methods inherited from interface com.liferay.petra.concurrent.NoticeableExecutorService
terminationNoticeableFuture
-
Constructor Details
-
BaseNoticeableExecutorService
public BaseNoticeableExecutorService()
-
-
Method Details
-
submit
- Specified by:
submit
in interfaceExecutorService
- Specified by:
submit
in interfaceNoticeableExecutorService
- Overrides:
submit
in classAbstractExecutorService
-
submit
- Specified by:
submit
in interfaceExecutorService
- Specified by:
submit
in interfaceNoticeableExecutorService
- Overrides:
submit
in classAbstractExecutorService
-
submit
- Specified by:
submit
in interfaceExecutorService
- Specified by:
submit
in interfaceNoticeableExecutorService
- Overrides:
submit
in classAbstractExecutorService
-
newTaskFor
- Overrides:
newTaskFor
in classAbstractExecutorService
-
newTaskFor
- Overrides:
newTaskFor
in classAbstractExecutorService
-