Class InternalValueState<K,​V>

  • Type Parameters:
    K - The type of key the state is associated to.
    V - The type of values kept internally in state.
    All Implemented Interfaces:
    org.apache.flink.api.common.state.v2.State, org.apache.flink.api.common.state.v2.ValueState<V>

    public class InternalValueState<K,​V>
    extends InternalKeyedState<K,​V>
    implements org.apache.flink.api.common.state.v2.ValueState<V>
    A default implementation of ValueState which delegates all async requests to AsyncExecutionController.
    • Method Detail

      • asyncValue

        public final org.apache.flink.api.common.state.v2.StateFuture<V> asyncValue()
        Specified by:
        asyncValue in interface org.apache.flink.api.common.state.v2.ValueState<K>
      • asyncUpdate

        public final org.apache.flink.api.common.state.v2.StateFuture<Void> asyncUpdate​(V value)
        Specified by:
        asyncUpdate in interface org.apache.flink.api.common.state.v2.ValueState<K>