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