public interface TxDrivenModuleMetadata extends ModuleMetadata
ModuleMetadata for TxDrivenModules.| Modifier and Type | Method and Description |
|---|---|
TxDrivenModuleConfiguration |
getConfig()
Get the configuration of the module.
|
TxDrivenModuleMetadata |
markedNeedingInitialization()
Create a new instance of this class with
needsInitialization() returning true. |
boolean |
needsInitialization()
Does the module need initialization?
|
long |
problemTimestamp()
Get the time in milliseconds since 1/1/1970 of the first occurrence of a problem that caused the
needsInitialization()
method to return true. |
TxDrivenModuleConfiguration getConfig()
TxDrivenModuleMetadata in order to detect
configuration changes after a restart.boolean needsInitialization()
long problemTimestamp()
needsInitialization()
method to return true.needsInitialization() returns false.TxDrivenModuleMetadata markedNeedingInitialization()
needsInitialization() returning true. This must cause
problemTimestamp() to return time representing the instant when this method was called. Same instance
of the implementation of this class should be returned when needsInitialization() already returns
true.needsInitialization() returning true, same instance
if that's already the case.Copyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.