public final class LongConcurrentLinkedQueue extends Object implements LongQueue, GarbageCollectable
| Constructor and Description |
|---|
LongConcurrentLinkedQueue(com.hazelcast.internal.memory.MemoryAllocator malloc,
long nullValue) |
LongConcurrentLinkedQueue(com.hazelcast.internal.memory.MemoryAllocator malloc,
long nullValue,
int threadLocalAddressCapacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity() |
void |
clear() |
void |
dispose() |
void |
gc() |
boolean |
isDestroyed() |
boolean |
isEmpty() |
LongIterator |
iterator() |
long |
nullItem() |
boolean |
offer(long value) |
long |
peek() |
long |
poll() |
int |
remainingCapacity() |
int |
size() |
String |
toString() |
public LongConcurrentLinkedQueue(com.hazelcast.internal.memory.MemoryAllocator malloc,
long nullValue)
public LongConcurrentLinkedQueue(com.hazelcast.internal.memory.MemoryAllocator malloc,
long nullValue,
int threadLocalAddressCapacity)
public int remainingCapacity()
remainingCapacity in interface LongQueuepublic void dispose()
dispose in interface com.hazelcast.nio.Disposablepublic boolean isDestroyed()
public void gc()
gc in interface GarbageCollectablepublic LongIterator iterator()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.