public interface BlockAccess extends org.apache.jena.atlas.lib.Sync, org.apache.jena.atlas.lib.Closeable
BlockAccessMem, BlockAccessByteArray).
This is wrapped in a BlockMgr to provide a higher level abstraction.BufferChannel| Modifier and Type | Method and Description |
|---|---|
Block |
allocate(int size) |
long |
allocBoundary() |
String |
getLabel() |
boolean |
isEmpty() |
void |
overwrite(Block block) |
Block |
read(long id) |
void |
resetAllocBoundary(long boundary)
Reset the allocation space (i.e.
|
boolean |
valid(long id) |
void |
write(Block block) |
synccloseBlock allocate(int size)
Block read(long id)
void write(Block block)
void overwrite(Block block)
boolean isEmpty()
long allocBoundary()
void resetAllocBoundary(long boundary)
boolean valid(long id)
String getLabel()
Licensed under the Apache License, Version 2.0