Interface CoordinatorStore
- All Known Implementing Classes:
CoordinatorStoreImpl
@ThreadSafe
@Internal
public interface CoordinatorStore
CoordinatorStore can be used for sharing some information among OperatorCoordinator instances. Motivating example is/was combining/aggregating latest watermark
emitted by different sources in order to do the watermark alignment.
Implementations of this interface must ensure that all operations are atomic.
-
Method Summary
Modifier and TypeMethodDescription<R> RcomputeIfPresent(Object key, BiFunction<Object, Object, Object> remappingFunction) booleancontainsKey(Object key) putIfAbsent(Object key, Object value)
-
Method Details
-
containsKey
-
get
-
putIfAbsent
-
computeIfPresent
-
compute
-
apply
-