public interface FsTranslogFile
Modifier and Type | Interface and Description |
---|---|
static class |
FsTranslogFile.Type |
Modifier and Type | Method and Description |
---|---|
Translog.Location |
add(BytesReference data) |
void |
close(boolean delete) |
boolean |
closed() |
int |
estimatedNumberOfOperations() |
TranslogStream |
getStream() |
long |
id() |
byte[] |
read(Translog.Location location) |
void |
reuse(FsTranslogFile other) |
FsChannelSnapshot |
snapshot() |
void |
sync() |
boolean |
syncNeeded() |
long |
translogSizeInBytes() |
void |
updateBufferSize(int bufferSize) |
long id()
int estimatedNumberOfOperations()
long translogSizeInBytes()
Translog.Location add(BytesReference data) throws IOException
IOException
byte[] read(Translog.Location location) throws IOException
IOException
void close(boolean delete) throws TranslogException
TranslogException
FsChannelSnapshot snapshot() throws TranslogException
TranslogException
void reuse(FsTranslogFile other) throws TranslogException
TranslogException
void updateBufferSize(int bufferSize) throws TranslogException
TranslogException
void sync() throws IOException
IOException
boolean syncNeeded()
TranslogStream getStream()
boolean closed()
Copyright © 2009–2015. All rights reserved.