Klasse AbstractResizingAtomicStore
java.lang.Object
org.teamapps.universaldb.index.buffer.AbstractResizingAtomicStore
- Bekannte direkte Unterklassen:
AbstractBlockEntryAtomicStore,PrimitiveEntryAtomicStore
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected static final ByteOrderprotected static final intprotected static final int -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()voiddrop()protected voidensureCapacity(int id, int byteLength) protected voidensureCapacity(long size) protected longfindNextBlockPosition(long position, int blockSize) voidflush()protected org.agrona.concurrent.AtomicBuffergetBuffer(int index) protected intgetBufferIndex(long position) protected org.agrona.concurrent.AtomicBuffer[]protected intgetMaximumId(int byteLength) getName()protected intgetOffset(int id, int bufferIndex, int entriesPerFile, int byteLength) protected intgetOffset(long position, int bufferIndex) getPath()longtoString()
-
Felddetails
-
byteOrder
-
MIN_FILE_SIZE
protected static final int MIN_FILE_SIZE- Siehe auch:
-
MAX_FILE_SIZE
protected static final int MAX_FILE_SIZE- Siehe auch:
-
-
Konstruktordetails
-
AbstractResizingAtomicStore
-
-
Methodendetails
-
ensureCapacity
protected void ensureCapacity(int id, int byteLength) -
findNextBlockPosition
protected long findNextBlockPosition(long position, int blockSize) -
getBuffer
protected org.agrona.concurrent.AtomicBuffer getBuffer(int index) -
getBuffers
protected org.agrona.concurrent.AtomicBuffer[] getBuffers() -
getBufferIndex
protected int getBufferIndex(long position) -
getOffset
protected int getOffset(long position, int bufferIndex) -
getOffset
protected int getOffset(int id, int bufferIndex, int entriesPerFile, int byteLength) -
getMaximumId
protected int getMaximumId(int byteLength) -
ensureCapacity
protected void ensureCapacity(long size) -
getPath
-
getName
-
getTotalCapacity
public long getTotalCapacity() -
flush
public void flush() -
close
public void close() -
drop
public void drop() -
toString
-