Package one.microstream.storage.types
Class StorageObjectIdMarkQueue.Default
java.lang.Object
one.microstream.storage.types.StorageObjectIdMarkQueue.Default
- All Implemented Interfaces:
StorageObjectIdMarkQueue
- Enclosing interface:
- StorageObjectIdMarkQueue
public static final class StorageObjectIdMarkQueue.Default extends Object implements StorageObjectIdMarkQueue
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageObjectIdMarkQueue
StorageObjectIdMarkQueue.Creator, StorageObjectIdMarkQueue.Default
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description void
advanceTail(int amount)
void
enqueue(long objectId)
void
enqueueBulk(long[] oids, int size)
int
getNext(long[] buffer)
boolean
hasElements()
void
reset()
long
size()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
size
public final long size()- Specified by:
size
in interfaceStorageObjectIdMarkQueue
-
reset
public final void reset()- Specified by:
reset
in interfaceStorageObjectIdMarkQueue
-
getNext
public int getNext(long[] buffer)- Specified by:
getNext
in interfaceStorageObjectIdMarkQueue
-
advanceTail
public void advanceTail(int amount)- Specified by:
advanceTail
in interfaceStorageObjectIdMarkQueue
-
enqueue
public final void enqueue(long objectId)- Specified by:
enqueue
in interfaceStorageObjectIdMarkQueue
-
enqueueBulk
public void enqueueBulk(long[] oids, int size)- Specified by:
enqueueBulk
in interfaceStorageObjectIdMarkQueue
-
hasElements
public boolean hasElements()- Specified by:
hasElements
in interfaceStorageObjectIdMarkQueue
-