Class EncryptedSnapshotFileSystem
java.lang.Object
org.gridgain.internal.snapshots.filesystem.EncryptedSnapshotFileSystem
- All Implemented Interfaces:
SnapshotFileSystem
Encrypted wrapper for
SnapshotFileSystem.-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedSnapshotFileSystem(SnapshotFileSystem delegate, SnapshotEncryptor encryptor, ByteBufferPoolProvider bufferPoolProvider) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Removes all data belonging to this Snapshot.partitionFile(int tableId, int partitionId) Returns the path to the Partition file of this Snapshot.Returns the snapshot identifier.Returns the path to the Meta file of this Snapshot.
-
Constructor Details
-
EncryptedSnapshotFileSystem
public EncryptedSnapshotFileSystem(SnapshotFileSystem delegate, SnapshotEncryptor encryptor, ByteBufferPoolProvider bufferPoolProvider) Constructor.- Parameters:
delegate- Delegate snapshot file system.encryptor- Snapshot encryptor.
-
-
Method Details
-
snapshotId
Description copied from interface:SnapshotFileSystemReturns the snapshot identifier.- Specified by:
snapshotIdin interfaceSnapshotFileSystem
-
snapshotMeta
Description copied from interface:SnapshotFileSystemReturns the path to the Meta file of this Snapshot.- Specified by:
snapshotMetain interfaceSnapshotFileSystem
-
partitionFile
Description copied from interface:SnapshotFileSystemReturns the path to the Partition file of this Snapshot.- Specified by:
partitionFilein interfaceSnapshotFileSystem
-
delete
public void delete()Description copied from interface:SnapshotFileSystemRemoves all data belonging to this Snapshot.- Specified by:
deletein interfaceSnapshotFileSystem
-