Interface StateDelegator

All Known Implementing Classes:
GrpcStateService

public interface StateDelegator
The StateDelegator is able to delegate BeamFnApi.StateRequests to a set of registered handlers. Any request for an unregistered process bundle instruction id is automatically failed.
  • Method Details

    • registerForProcessBundleInstructionId

      StateDelegator.Registration registerForProcessBundleInstructionId(String processBundleInstructionId, StateRequestHandler handler)
      Registers the supplied handler for the given process bundle instruction id for all BeamFnApi.StateRequests with a matching id. A handle is returned which allows one to deregister from this StateDelegator.