public abstract class AbstractHookRunner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
keepGoing |
protected Publisher |
publisher |
protected AbstractHookQueue |
queue |
Constructor and Description |
---|
AbstractHookRunner(AbstractHookQueue hookQueue) |
AbstractHookRunner(AbstractHookQueue hookQueue,
Publisher hookPublisher) |
Modifier and Type | Method and Description |
---|---|
Publisher |
getPublisher() |
abstract void |
run()
Block forever and run the runner's runloop.
|
void |
stop()
Tell the runloop to stop
This will only come into effect after the runner has completed it's
currently executing work
|
protected AbstractHookQueue queue
protected Publisher publisher
protected java.lang.Boolean keepGoing
public AbstractHookRunner(AbstractHookQueue hookQueue)
public AbstractHookRunner(AbstractHookQueue hookQueue, Publisher hookPublisher)
public Publisher getPublisher()
public abstract void run() throws java.lang.Exception
java.lang.Exception
- uncaught exceptions from the QueueAction
public void stop()