Exemplo n.º 1
0
 public override IOperatorStateBackend CreateOperatorStateBackend(
     IEnvironment env,
     string operatorIdentifier,
     IList <IOperatorStateHandle> stateHandles,
     CloseableRegistry cancelStreamRegistry) => new DefaultOperatorStateBackendBuilder(
     env.UserClassType,
     env.ExecutionConfig,
     IsUsingAsynchronousSnapshots,
     stateHandles,
     cancelStreamRegistry).Build();
 public DefaultOperatorStateBackendBuilder(
     Type userType,
     ExecutionConfig executionConfig,
     bool asynchronousSnapshots,
     IList <IOperatorStateHandle> stateHandles,
     CloseableRegistry cancelStreamRegistry)
 {
     UserType              = userType;
     ExecutionConfig       = executionConfig;
     AsynchronousSnapshots = asynchronousSnapshots;
     RestoreStateHandles   = stateHandles;
     CancelStreamRegistry  = cancelStreamRegistry;
 }
Exemplo n.º 3
0
 public override AbstractKeyedStateBackend <TKey> CreateKeyedStateBackend <TKey>(
     IEnvironment env, JobId jobId,
     string operatorIdentifier,
     TypeSerializer <TKey> keySerializer,
     int numberOfKeyGroups,
     KeyGroupRange keyGroupRange,
     TaskKvStateRegistry kvStateRegistry,
     ITtlTimeProvider ttlTimeProvider,
     IMetricGroup metricGroup,
     IList <IKeyedStateHandle> stateHandles,
     CloseableRegistry cancelStreamRegistry)
 {
     throw new System.NotImplementedException();
 }
Exemplo n.º 4
0
 public abstract IOperatorStateBackend CreateOperatorStateBackend(IEnvironment env, string operatorIdentifier,
                                                                  IList <IOperatorStateHandle> stateHandles,
                                                                  CloseableRegistry cancelStreamRegistry);