Package com.hazelcast.collection
Interface IQueue<E>
- Type Parameters:
E
- queue item type
- All Superinterfaces:
BaseQueue<E>
,BlockingQueue<E>
,Collection<E>
,DistributedObject
,ICollection<E>
,Iterable<E>
,Queue<E>
Concurrent, blocking, distributed, observable queue.
The IQueue is not a partitioned data-structure. All the content of an IQueue is stored in a single machine (and in the backup). The IQueue will not scale by adding more members to the cluster.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns LocalQueueStats for this queue.Methods inherited from interface com.hazelcast.collection.BaseQueue
offer, offer, poll, poll, size, take
Methods inherited from interface java.util.concurrent.BlockingQueue
add, contains, drainTo, drainTo, offer, offer, poll, put, remainingCapacity, remove, take
Methods inherited from interface java.util.Collection
addAll, clear, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
Methods inherited from interface com.hazelcast.core.DistributedObject
destroy, getDestroyContextForTenant, getPartitionKey, getServiceName
Methods inherited from interface com.hazelcast.collection.ICollection
addItemListener, getName, removeItemListener
-
Method Details
-
getLocalQueueStats
LocalQueueStats getLocalQueueStats()Returns LocalQueueStats for this queue. LocalQueueStats is the statistics for the local portion of this queue.- Returns:
- this queue's local statistics.
-