public abstract class TimedModule<Ctx> extends BasicModule<Ctx>
Module.State| Modifier and Type | Field and Description |
|---|---|
protected int |
myRunDebugModulus |
myLoggerHASIDENT| Constructor and Description |
|---|
TimedModule() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doInit(Ctx mlator) |
protected abstract void |
doRelease(Ctx ctx) |
protected abstract void |
doRunOnce(Ctx ctx,
long runSeqNum) |
protected abstract void |
doStart(Ctx ctx) |
protected abstract void |
doStop(Ctx ctx) |
long |
getCompletedRunCount() |
String |
getFieldSummary() |
void |
initModule()
Modulator must be set when initModule is called.
|
void |
releaseModule()
Required pre-state is POST_STOP or FAILED_STARTUP.
|
void |
runOnce()
Required pre-state is WAIT_TO_RUN_OR_STOP.
|
void |
start()
Required pre-state is WAIT_TO_START.
|
void |
stop()
Required pre-state is WAIT_TO_RUN_OR_STOP.
|
enterBasicInitModule, enterBasicReleaseModule, enterBasicRunOnce, enterBasicStart, enterBasicStop, exitBasicInitModule, exitBasicReleaseModule, exitBasicRunOnce, exitBasicStart, exitBasicStop, failDuringInitOrStartup, getContext, getState, isStopRequested, markStopRequested, notifyStateViolation, setContext, verifyStoredStategetDescription, getIdent, getShortLabel, setDescription, setIdent, setShortLabel, toStringcheckDebugImportance, forceLog4jConfig, getLogger, getLoggerForClass, isLoggerUsable, logDebug, logError, logError, logInfo, logInfo, logInfoEvent, logWarning, logWarning, logWithException, setDebugImportanceThreshold, setLogger, useLoggerForClasspublic long getCompletedRunCount()
protected abstract void doInit(Ctx mlator)
public void initModule()
Moduleprotected abstract void doStart(Ctx ctx)
public void start()
Moduleprotected abstract void doRunOnce(Ctx ctx, long runSeqNum)
public void runOnce()
Moduleprotected abstract void doStop(Ctx ctx)
public void stop()
Moduleprotected abstract void doRelease(Ctx ctx)
public void releaseModule()
Modulepublic String getFieldSummary()
getFieldSummary in class BasicModule<Ctx>Copyright © 2010-2015. All Rights Reserved.