C - the type of context that the module persists in Neo4j between runs.public abstract class BaseTimerDrivenModule<C extends TimerDrivenModuleContext> extends BaseRuntimeModule implements TimerDrivenModule<C>
TimerDrivenModule implementations.| Modifier | Constructor and Description |
|---|---|
protected |
BaseTimerDrivenModule(String moduleId)
Construct a new module.
|
| Modifier and Type | Method and Description |
|---|---|
TimerDrivenModuleConfiguration |
getConfiguration()
Return the configuration of this module.
|
void |
shutdown() |
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateInitialContext, doSomeWorkgetIdprotected BaseTimerDrivenModule(String moduleId)
moduleId - ID of this module. Must not be null.public TimerDrivenModuleConfiguration getConfiguration()
TimerDrivenModuleConfiguration implementation. Use NullTimerDrivenModuleConfiguration
if this module needs no configuration.getConfiguration in interface TimerDrivenModule<C extends TimerDrivenModuleContext>public void shutdown()
Note that the implementation in this base class doesn't do anything and can be safely overridden without calling super.
shutdown in interface RuntimeModuleCopyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.