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