public abstract class ProcessorBase<T> extends Object
| Constructor and Description |
|---|
ProcessorBase(Executor parent) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doTask(T task) |
boolean |
flush() |
boolean |
flush(long timeout,
TimeUnit unit)
WARNING: This will only flush when all the activity is suspended.
|
boolean |
isFlushed() |
protected void |
startPoller() |
protected void |
task(T command) |
public ProcessorBase(Executor parent)
protected abstract void doTask(T task)
public final boolean flush()
public final boolean flush(long timeout,
TimeUnit unit)
public final boolean isFlushed()
protected void task(T command)
protected void startPoller()
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.