Interface StateRequestHandler

    • Method Detail

      • handleRequest

        <IN,​OUT> org.apache.flink.core.state.InternalStateFuture<OUT> handleRequest​(@Nullable
                                                                                          org.apache.flink.api.common.state.v2.State state,
                                                                                          StateRequestType type,
                                                                                          @Nullable
                                                                                          IN payload)
        Submit a StateRequest to this StateRequestHandler.
        Parameters:
        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.
        Returns:
        the state future.
      • handleRequestSync

        <IN,​OUT> OUT handleRequestSync​(org.apache.flink.api.common.state.v2.State state,
                                             StateRequestType type,
                                             @Nullable
                                             IN payload)
        Submit a StateRequest to this StateRequestHandler, and wait for the response synchronously.
        Parameters:
        state - the state to request.
        type - the type of this request.
        payload - the payload input for this request.
        Returns:
        the state future.