public interface LongBlockingQueue extends LongQueue
longs.| Modifier and Type | Method and Description |
|---|---|
void |
consume(LongConsumer consumer) |
boolean |
offer(long value,
long timeout,
TimeUnit unit) |
long |
poll(long timeout,
TimeUnit unit) |
void |
put(long value) |
long |
take() |
boolean offer(long value,
long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionvoid put(long value) throws InterruptedException
InterruptedExceptionlong poll(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionlong take() throws InterruptedException
InterruptedExceptionvoid consume(LongConsumer consumer)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.