Package com.nt.udc.util.state
Interface StateManagementIfc
- All Known Subinterfaces:
NodeStateManagementIfc
- All Known Implementing Classes:
AggregatorNode,Asn1FileEINode,CommonProcessorNode,DCNode,DiscardingProcessorNode,DupRemoverNode,EINode,EmptyPartitionedDCNode,FFOINode,FileEINode,FileEnhancerNode,FlatFileEINode,FlexibleAggregatorNode,FtpFileEINode,FtpFileEnhancerNode,GeneralNPLProcessorNode,GenericUdpEINode,GenevaOINode,HCDeduplicatorEP,IPDREIFileNode,IPDREINode,JDBCEINode,JDBCOINode,LDAPEnhancerNode,MXAggregatorNode,NAREINode,NAROINode,NARSelectorNode,NARXMLOINode,NMinusOneRecordNode,NPLProcessorNode,NPLProcessorNodeMT,OIFtpNode,OINode,PartitionedDCNode,PortalOINode,ProcessorNode,RadiusOINode,SequenceProcessorNode,SoapXmlEINode,Sol42EINode,XMLEIFileNode,XMLEINode,XMLOIFileNode
public interface StateManagementIfc
This interface should be used in those Objects that are
required to implement some sort of state management.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type of state management being used.Returns the StateManager Object.booleanReturns whether state management is being used.voidRestores the state of the system.voidSaves the state of a single-threaded system.voidSaves the state of a multi-threaded system.
-
Method Details
-
saveState
void saveState()Saves the state of a single-threaded system. -
saveState
Saves the state of a multi-threaded system. This method should involve asynchronous calls and acknowledgements.- Parameters:
stateFinishedCallback- An Object to notify when the state has been successfully saved.
-
restoreState
void restoreState()Restores the state of the system. -
isStateUsed
boolean isStateUsed()Returns whether state management is being used.- Returns:
- true, if state management is being used.
-
getStateManagementType
StateManagementType getStateManagementType()Returns the type of state management being used.- Returns:
- Type of state management being used, from the defined set.
-
getStateManager
StateManager getStateManager()Returns the StateManager Object.- Returns:
- The contained StateManager.
-