P - The type of objects that identify a pipeline.ObjectSpecificFlushCallable instead.@Deprecated
public class PipelineFlushRunnable<P>
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abortedPending
Deprecated.
Whether the flush has aborted pending work.
|
protected java.util.Collection<PipelineRunnable<P>> |
await
Deprecated.
All pipelines of which the termination needs to be awaited.
|
protected AbstractPipeliningExecutor<?,P> |
executor
Deprecated.
The executor for restarting the pipelines.
|
protected java.util.logging.Logger |
logger
Deprecated.
The logger which to use for runtime exceptions stemming from executing the
task or interrupts sent when awaiting the termination of the pipelines.
|
protected java.lang.Runnable |
task
Deprecated.
The task to run without any pipeline running.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PipelineFlushRunnable(java.lang.Runnable task,
java.util.Collection<PipelineRunnable<P>> await,
boolean abortedPending,
AbstractPipeliningExecutor<?,P> executor,
java.util.logging.Logger logger)
Deprecated.
Creates a new runnable that executes an exclusive tasks without any
pipeline running.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Deprecated.
|
protected final java.lang.Runnable task
protected final java.util.Collection<PipelineRunnable<P>> await
protected final boolean abortedPending
protected final AbstractPipeliningExecutor<?,P> executor
protected final java.util.logging.Logger logger
protected PipelineFlushRunnable(java.lang.Runnable task,
java.util.Collection<PipelineRunnable<P>> await,
boolean abortedPending,
AbstractPipeliningExecutor<?,P> executor,
java.util.logging.Logger logger)
task - The task to run exclusively.await - All pipelines for which to await their termination.abortedPending - Whether the flush has aborted pending work.executor - The pipeline executor to restart the pipelines after the
exclusive task.logger - The logger which to use for runtime exceptions stemming from
executing the task or interrupts sent when awaiting the
termination of the pipelines.