use of org.apache.flink.runtime.state.SharedStateRegistryKey in project flink by apache.
the class DefaultCompletedCheckpointStoreTest method registerState.
private TestingStreamStateHandle registerState(CompletedCheckpointStore completedCheckpointStore, long checkpointID) {
TestingStreamStateHandle handle = new TestingStreamStateHandle();
completedCheckpointStore.getSharedStateRegistry().registerReference(new SharedStateRegistryKey(String.valueOf(new Object().hashCode())), handle, checkpointID);
return handle;
}
Aggregations