@Internal public interface StateRequestHandler
StateRequest
.Modifier and Type | Method and Description |
---|---|
<IN,OUT> InternalStateFuture<OUT> |
handleRequest(State state,
StateRequestType type,
IN payload)
Submit a
StateRequest to this StateRequestHandler. |
<IN,OUT> InternalStateFuture<OUT> handleRequest(@Nullable State state, StateRequestType type, @Nullable IN payload)
StateRequest
to this StateRequestHandler.state
- the state to request. Could be null
if the type is StateRequestType.SYNC_POINT
.type
- the type of this request.payload
- the payload input for this request.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.