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 org.apache.ignite.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 org.apache.ignite.IgniteCheckedException
wrapper - base foldergrpId - proup IdpartId - partition Idorg.apache.ignite.IgniteCheckedException - 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 org.apache.ignite.IgniteLogger log)
throws org.apache.ignite.IgniteCheckedException
snapshotPath - Snapshot path.msg - Message.log - Logger.org.apache.ignite.IgniteCheckedException - In case of ensure failes.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024