Class CoordinatorStoreImpl
- java.lang.Object
-
- org.apache.flink.runtime.operators.coordination.CoordinatorStoreImpl
-
- All Implemented Interfaces:
CoordinatorStore
@ThreadSafe @Internal public class CoordinatorStoreImpl extends Object implements CoordinatorStore
Basic implementation ofCoordinatorStore.
-
-
Constructor Summary
Constructors Constructor Description CoordinatorStoreImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Rapply(Object key, Function<Object,R> consumer)Objectcompute(Object key, BiFunction<Object,Object,Object> mappingFunction)ObjectcomputeIfPresent(Object key, BiFunction<Object,Object,Object> remappingFunction)booleancontainsKey(Object key)Objectget(Object key)ObjectputIfAbsent(Object key, Object value)
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceCoordinatorStore
-
get
public Object get(Object key)
- Specified by:
getin interfaceCoordinatorStore
-
putIfAbsent
public Object putIfAbsent(Object key, Object value)
- Specified by:
putIfAbsentin interfaceCoordinatorStore
-
computeIfPresent
public Object computeIfPresent(Object key, BiFunction<Object,Object,Object> remappingFunction)
- Specified by:
computeIfPresentin interfaceCoordinatorStore
-
compute
public Object compute(Object key, BiFunction<Object,Object,Object> mappingFunction)
- Specified by:
computein interfaceCoordinatorStore
-
apply
public <R> R apply(Object key, Function<Object,R> consumer)
- Specified by:
applyin interfaceCoordinatorStore
-
-