E - entry typepublic final class ArrayElasticQueue<E> extends AbstractQueue<E> implements com.hazelcast.elastic.queue.ElasticQueue<E>
| Constructor and Description |
|---|
ArrayElasticQueue(EnterpriseSerializationService ss,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected com.hazelcast.elastic.queue.LongQueue |
createQueue(com.hazelcast.internal.memory.MemoryAllocator malloc,
int capacity,
long nullItem) |
void |
destroy() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
int |
size() |
add, addAll, element, removecontains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraypublic ArrayElasticQueue(EnterpriseSerializationService ss, int capacity)
protected com.hazelcast.elastic.queue.LongQueue createQueue(com.hazelcast.internal.memory.MemoryAllocator malloc,
int capacity,
long nullItem)
public final void clear()
clear in interface Collection<E>clear in class AbstractQueue<E>public final int size()
size in interface Collection<E>size in class AbstractCollection<E>public final boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in class AbstractCollection<E>public final void destroy()
destroy in interface com.hazelcast.elastic.queue.ElasticQueue<E>public final Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in class AbstractCollection<E>Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.