| Constructor and Description |
|---|
LogRollBackupSubprocedurePool(java.lang.String name,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.lang.String why,
java.lang.Throwable e)
Abort the server or client.
|
void |
close()
Attempt to cleanly shutdown any running tasks - allows currently running tasks to cleanly
finish
|
boolean |
isAborted()
Check if the server or client was aborted.
|
void |
submitTask(java.util.concurrent.Callable<java.lang.Void> task)
Submit a task to the pool.
|
boolean |
waitForOutstandingTasks()
Wait for all of the currently outstanding tasks submitted via
submitTask(Callable) |
public LogRollBackupSubprocedurePool(java.lang.String name,
Configuration conf)
public void submitTask(java.util.concurrent.Callable<java.lang.Void> task)
public boolean waitForOutstandingTasks()
throws ForeignException
submitTask(Callable)ForeignException - exceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic void abort(java.lang.String why,
java.lang.Throwable e)
Abortable