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 Type
    Method
    Description
    void
    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

      void freezeState(Callback freezeCallback) throws StateException
      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

      void unfreezeState() throws StateException
      Called when the implementing Object can safely unfreeze its state.
      Throws:
      StateException