| Constructor and Description |
|---|
RocksDbQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
ackAttributes(Attributes attributes) |
void |
close() |
void |
insertAttribute(Attribute attribute)
Enqueue a new attribute to the queue
|
Attributes |
readAttributes(int limit)
get n attributes where min <= n < limit.
|
public void insertAttribute(Attribute attribute)
QueueinsertAttribute in interface Queuepublic Attributes readAttributes(int limit) throws InterruptedException
QueuereadAttributes in interface Queuelimit - the maximum number of items to be returned.Attributes instance containing a list of duplicatesInterruptedExceptionpublic void ackAttributes(Attributes attributes)
ackAttributes in interface Queuepublic void close()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.