Package org.apache.jena.dboe.base.block
Class Block
- java.lang.Object
-
- org.apache.jena.dboe.base.block.Block
-
public final class Block extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffergetByteBuffer()java.lang.LonggetId()java.nio.ByteBuffergetUnderlyingByteBuffer()booleanisModified()booleanisReadOnly()Blockreplicate()Deep copy, including ByteBuffer contents into a HeapByteBuffer.static voidreplicate(Block srcBlock, Block dstBlock)voidsetModified(boolean modified)voidsetReadOnly(boolean readonly)voidsetUnderlyingByteBuffer(java.nio.ByteBuffer underlyingByteBuffer)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public final java.lang.Long getId()
-
getByteBuffer
public final java.nio.ByteBuffer getByteBuffer()
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public void setReadOnly(boolean readonly)
-
isModified
public boolean isModified()
-
setModified
public void setModified(boolean modified)
-
getUnderlyingByteBuffer
public java.nio.ByteBuffer getUnderlyingByteBuffer()
-
setUnderlyingByteBuffer
public void setUnderlyingByteBuffer(java.nio.ByteBuffer underlyingByteBuffer)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
replicate
public Block replicate()
Deep copy, including ByteBuffer contents into a HeapByteBuffer.
-
-