public class SnapshotPathOperationsHelper extends Object
SnapshotPath.| Constructor and Description |
|---|
SnapshotPathOperationsHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.gridgain.grid.internal.processors.cache.database.snapshot.file.SnapshotPath> |
buildPartitonPath(T wrapper,
int grpId,
int partId)
Build partition path.
|
static void |
ensureDirectory(@NotNull org.gridgain.grid.internal.processors.cache.database.snapshot.file.SnapshotPath snapshotPath,
@NotNull String msg,
@Nullable IgniteLogger log)
Ensures that this is a directory.
|
public static <T extends org.gridgain.grid.internal.processors.cache.database.snapshot.file.SnapshotPath> T buildPartitonPath(T wrapper, int grpId, int partId) throws IgniteCheckedException
wrapper - base foldergrpId - proup IdpartId - partition IdIgniteCheckedException - in case of incorrect parameters or incorrect files structurepublic static void ensureDirectory(@NotNull
@NotNull org.gridgain.grid.internal.processors.cache.database.snapshot.file.SnapshotPath snapshotPath,
@NotNull
@NotNull String msg,
@Nullable
@Nullable IgniteLogger log)
throws IgniteCheckedException
snapshotPath - Snapshot path.msg - Message.log - Logger.IgniteCheckedException - In case of ensure failes.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025