@Internal
public interface CheckpointStateToolset
CheckpointStorageWorkerView.| Modifier and Type | Method and Description |
|---|---|
boolean |
canFastDuplicate(StreamStateHandle stateHandle)
Tells if we can duplicate the given
StreamStateHandle. |
List<StreamStateHandle> |
duplicate(List<StreamStateHandle> stateHandle)
Duplicates
StreamStateHandles into the path embedded inside of the
class. |
boolean canFastDuplicate(StreamStateHandle stateHandle) throws IOException
StreamStateHandle.
This should be a rather cheap operation, preferably not involving any remote accesses.
stateHandle - The handle to duplicateIOExceptionList<StreamStateHandle> duplicate(List<StreamStateHandle> stateHandle) throws IOException
StreamStateHandles into the path embedded inside of the
class.
You should first check if you can duplicate with canFastDuplicate(StreamStateHandle).
stateHandle - The handles to duplicateIOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.