public class FileSnapshotOutputStream extends Object implements org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotOutputStream
Modifier and Type | Method and Description |
---|---|
void |
close()
Close method.
|
void |
plainWrite(ByteBuffer data)
Writes plain data to stream.
|
long |
position()
Returns this stream's position.
|
public void plainWrite(ByteBuffer data) throws IgniteCheckedException
plainWrite
in interface org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotOutputStream
data
- Plain data.IgniteCheckedException
- If IO exception has happened.public void close() throws IgniteCheckedException
close
in interface AutoCloseable
close
in interface org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotOutputStream
IgniteCheckedException
- in case of IO failure.public long position()
position
in interface org.gridgain.grid.internal.processors.cache.database.snapshot.SnapshotOutputStream
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024