Package kilim
Class AffineScheduler.Executor
java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
kilim.AffineScheduler.Executor
- All Implemented Interfaces:
AutoCloseable,Executor,ExecutorService,TimerService.WatchdogContext
- Enclosing class:
AffineScheduler
protected class AffineScheduler.Executor
extends ThreadPoolExecutor
implements TimerService.WatchdogContext
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterExecute(Runnable r, Throwable t) booleanisEmpty()booleanprotected voidvoidMethods inherited from class java.util.concurrent.ThreadPoolExecutor
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated, toStringMethods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
close
-
Field Details
-
que
-
pending
-
-
Constructor Details
-
Executor
-
-
Method Details
-
publish
-
afterExecute
- Overrides:
afterExecutein classThreadPoolExecutor
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceTimerService.WatchdogContext
-
isEmptyish
public boolean isEmptyish()- Specified by:
isEmptyishin interfaceTimerService.WatchdogContext
-
publish
- Specified by:
publishin interfaceTimerService.WatchdogContext
-