public static interface MessagePassingQueue.Supplier<T>
Modifier and Type | Method and Description |
---|---|
T |
get()
This method will return the next value to be written to the queue.
|
T get()
Users should be aware that underlying queue implementations may upfront claim parts of the queue for batch operations and this will effect the view on the queue from the supplier method. In particular size and any offer methods may take the view that the full batch has already happened.
Copyright © 2013–2018. All rights reserved.