Interface InternalTimeServiceManager.Provider
-
- All Superinterfaces:
Serializable
- Enclosing interface:
- InternalTimeServiceManager<K>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface InternalTimeServiceManager.Provider extends Serializable
A provider pattern for creating an instance of aInternalTimeServiceManager. Allows substituting the manager that will be used at the runtime.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K> InternalTimeServiceManager<K>create(org.apache.flink.runtime.metrics.groups.TaskIOMetricGroup taskIOMetricGroup, org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> keyedStatedBackend, ClassLoader userClassloader, KeyContext keyContext, ProcessingTimeService processingTimeService, Iterable<org.apache.flink.runtime.state.KeyGroupStatePartitionStreamProvider> rawKeyedStates, StreamTaskCancellationContext cancellationContext)
-
-
-
Method Detail
-
create
<K> InternalTimeServiceManager<K> create(org.apache.flink.runtime.metrics.groups.TaskIOMetricGroup taskIOMetricGroup, org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<K> keyedStatedBackend, ClassLoader userClassloader, KeyContext keyContext, ProcessingTimeService processingTimeService, Iterable<org.apache.flink.runtime.state.KeyGroupStatePartitionStreamProvider> rawKeyedStates, StreamTaskCancellationContext cancellationContext) throws Exception
- Throws:
Exception
-
-