public abstract class AbstractCommitLogExecutorService extends java.util.concurrent.AbstractExecutorService implements ICommitLogExecutorService
Modifier and Type | Field and Description |
---|---|
protected long |
completedTaskCount |
Constructor and Description |
---|
AbstractCommitLogExecutorService() |
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
long |
getCompletedTasks()
Get the number of completed tasks
|
boolean |
isShutdown() |
boolean |
isTerminated() |
java.util.List<java.lang.Runnable> |
shutdownNow() |
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, awaitTermination, getPendingTasks, shutdown, submit
public long getCompletedTasks()
getCompletedTasks
in interface ICommitLogExecutorService
public boolean isTerminated()
isTerminated
in interface java.util.concurrent.ExecutorService
public boolean isShutdown()
isShutdown
in interface java.util.concurrent.ExecutorService
public java.util.List<java.lang.Runnable> shutdownNow()
shutdownNow
in interface java.util.concurrent.ExecutorService
public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
awaitTermination
in interface java.util.concurrent.ExecutorService
java.lang.InterruptedException
Copyright © 2013 The Apache Software Foundation