protected AbstractKeyedStateBackend <TKey> CreateKeyedBackend <TKey>( TypeSerializer <TKey> keySerializer, int numberOfKeyGroups, KeyGroupRange keyGroupRange, IEnvironment env) => StateBackend.CreateKeyedStateBackend( env, new JobId(), "test_op", keySerializer, numberOfKeyGroups, keyGroupRange, env.TaskKvStateRegistry, TtlTimeProvider.Default, new UnRegisteredMetricsGroup(), new List <IKeyedStateHandle>(), new CloseableRegistry());
protected ICheckpointStreamFactory CreateStreamFactory() => _checkpointStreamFactory ?? StateBackend .CreateCheckpointStorage(new JobId()) .ResolveCheckpointStorageLocation(1L, CheckpointStorageLocationReference.Default);