Package com.nt.udc.util.state
Interface StateFreezable
- All Known Implementing Classes:
FlexibleAggregatorFieldProcessor
,HCDeDupFieldProcessor
,JDBCEITransport
,JDBCOIFieldProcessor
,MXNPLFieldProcessor
,NarWriter
,NPLFieldProcessor
,Sol42FieldProcessor
public interface StateFreezable
This interface is for those classes that actively supply
input to a sub-system. The purpose of the interface is
to allow another object to freeze the input, do some
modifications, and unfreeze the input.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
freezeState
(Callback freezeCallback) Called when the implementing Object should freeze its current state.void
Called when the implementing Object can safely unfreeze its state.
-
Method Details
-
freezeState
Called when the implementing Object should freeze its current state. The Callback should be invoked when the Object's state is frozen. This call should be asynchronous, and this method MUST NOT block until the state is frozen.- Parameters:
freezeCallback
- Called when the Object is frozen.- Throws:
StateException
-
unfreezeState
Called when the implementing Object can safely unfreeze its state.- Throws:
StateException
-