Interface CoordinatorStore
-
- All Known Implementing Classes:
CoordinatorStoreImpl
@ThreadSafe @Internal public interface CoordinatorStoreCoordinatorStorecan be used for sharing some information amongOperatorCoordinatorinstances. 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
All Methods Instance Methods Abstract 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)
-