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
IOExceptionbyte[] read(Translog.Location location) throws IOException
IOExceptionvoid close(boolean delete)
throws TranslogException
TranslogExceptionFsChannelSnapshot snapshot() throws TranslogException
TranslogExceptionvoid reuse(FsTranslogFile other) throws TranslogException
TranslogExceptionvoid updateBufferSize(int bufferSize)
throws TranslogException
TranslogExceptionvoid sync() throws IOException
IOExceptionboolean syncNeeded()
TranslogStream getStream()
boolean closed()
Copyright © 2009–2016. All rights reserved.