public class BlockAccessByteArray extends Object implements BlockAccess
| Constructor and Description |
|---|
BlockAccessByteArray(String label) |
| Modifier and Type | Method and Description |
|---|---|
Block |
allocate(int size) |
long |
allocBoundary() |
void |
close() |
String |
getLabel() |
boolean |
isEmpty() |
void |
overwrite(Block block) |
Block |
read(long id) |
void |
resetAllocBoundary(long boundary)
Reset the allocation space (i.e.
|
void |
sync() |
boolean |
valid(long id) |
void |
write(Block block) |
public BlockAccessByteArray(String label)
public String getLabel()
getLabel in interface BlockAccesspublic Block allocate(int size)
allocate in interface BlockAccesspublic long allocBoundary()
allocBoundary in interface BlockAccesspublic void resetAllocBoundary(long boundary)
BlockAccessresetAllocBoundary in interface BlockAccesspublic Block read(long id)
read in interface BlockAccesspublic void write(Block block)
write in interface BlockAccesspublic void overwrite(Block block)
overwrite in interface BlockAccesspublic boolean isEmpty()
isEmpty in interface BlockAccesspublic boolean valid(long id)
valid in interface BlockAccesspublic void sync()
sync in interface org.apache.jena.atlas.lib.Syncpublic void close()
close in interface org.apache.jena.atlas.lib.CloseableLicensed under the Apache License, Version 2.0