org.neo4j.kernel.impl.transaction.xaframework
Interface LogBuffer
- All Known Implementing Classes:
- BlockLogBuffer, DirectMappedLogBuffer, InMemoryLogBuffer, NullLogBuffer
public interface LogBuffer
put
LogBuffer put(byte b)
throws IOException
- Throws:
IOException
putShort
LogBuffer putShort(short b)
throws IOException
- Throws:
IOException
putInt
LogBuffer putInt(int i)
throws IOException
- Throws:
IOException
putLong
LogBuffer putLong(long l)
throws IOException
- Throws:
IOException
putFloat
LogBuffer putFloat(float f)
throws IOException
- Throws:
IOException
putDouble
LogBuffer putDouble(double d)
throws IOException
- Throws:
IOException
put
LogBuffer put(byte[] bytes)
throws IOException
- Throws:
IOException
put
LogBuffer put(char[] chars)
throws IOException
- Throws:
IOException
writeOut
void writeOut()
throws IOException
- Makes sure the data added to this buffer is written out to the underlying file.
- Throws:
IOException - if the data couldn't be written.
force
void force()
throws IOException
- Makes sure the data added to this buffer is written out to the underlying file
and forced.
- Throws:
IOException - if the data couldn't be written.
getFileChannelPosition
long getFileChannelPosition()
throws IOException
- Throws:
IOException
getFileChannel
FileChannel getFileChannel()
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.