Interface StateDelegator
-
- All Known Implementing Classes:
GrpcStateService
public interface StateDelegatorTheStateDelegatoris able to delegateBeamFnApi.StateRequests to a set of registered handlers. Any request for an unregistered process bundle instruction id is automatically failed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStateDelegator.RegistrationAllows callers to deregister from receiving further state requests.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateDelegator.RegistrationregisterForProcessBundleInstructionId(java.lang.String processBundleInstructionId, StateRequestHandler handler)Registers the supplied handler for the given process bundle instruction id for allBeamFnApi.StateRequests with a matching id.
-
-
-
Method Detail
-
registerForProcessBundleInstructionId
StateDelegator.Registration registerForProcessBundleInstructionId(java.lang.String processBundleInstructionId, StateRequestHandler handler)
Registers the supplied handler for the given process bundle instruction id for allBeamFnApi.StateRequests with a matching id. A handle is returned which allows one to deregister from thisStateDelegator.
-
-