Class LocalSnapshotMetaPath
java.lang.Object
org.gridgain.internal.snapshots.filesystem.LocalSnapshotMetaPath
- All Implemented Interfaces:
SnapshotMetaPath
Represents partition file of a local snapshot.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOpens a channel to read the object identified by this path.uri()Returns URI of the object identified by this path.Opens a channel to write the object identified by this path.
-
Constructor Details
-
LocalSnapshotMetaPath
-
-
Method Details
-
readChannel
Description copied from interface:SnapshotMetaPathOpens a channel to read the object identified by this path.- Specified by:
readChannelin interfaceSnapshotMetaPath- Throws:
IOException
-
writeChannel
Description copied from interface:SnapshotMetaPathOpens a channel to write the object identified by this path.Creates the object if it does not exist.
Closing the channel ensures that the data has been saved durably on the underlying storage.
- Specified by:
writeChannelin interfaceSnapshotMetaPath- Throws:
IOException
-
uri
Description copied from interface:SnapshotMetaPathReturns URI of the object identified by this path.- Specified by:
uriin interfaceSnapshotMetaPath
-