Class FileBackedStorageEngine.FileWriteTask
java.lang.Object
org.terracotta.offheapstore.disk.storage.FileBackedStorageEngine.FileWriteTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
FileBackedStorageEngine<K,V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileBackedStorageEngine<K,V>.FileChunk private final ByteBufferprivate final intprivate final longprivate final ByteBuffer -
Constructor Summary
ConstructorsConstructorDescriptionFileWriteTask(FileBackedStorageEngine<K, V>.FileChunk chunk, long position, ByteBuffer keyBuffer, ByteBuffer valueBuffer, int pojoHash) -
Method Summary
Modifier and TypeMethodDescription(package private) ByteBuffer(package private) ByteBuffervoidrun()private voidwrite()
-
Field Details
-
chunk
-
keyBuffer
-
valueBuffer
-
pojoHash
private final int pojoHash -
position
private final long position
-
-
Constructor Details
-
FileWriteTask
FileWriteTask(FileBackedStorageEngine<K, V>.FileChunk chunk, long position, ByteBuffer keyBuffer, ByteBuffer valueBuffer, int pojoHash)
-
-
Method Details
-
run
-
write
- Throws:
IOException
-
getKeyBuffer
ByteBuffer getKeyBuffer() -
getValueBuffer
ByteBuffer getValueBuffer()
-