public class SnapshotWriterStream extends OutputStream
OutputStream
API on top of Copycat's SnapshotWriter
.Constructor and Description |
---|
SnapshotWriterStream(io.atomix.copycat.server.storage.snapshot.SnapshotWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
public SnapshotWriterStream(io.atomix.copycat.server.storage.snapshot.SnapshotWriter writer)
writer
- the writer to wrappublic void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len)
write
in class OutputStream
Copyright © 2023. All Rights Reserved.