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 SummaryModifier and TypeMethodDescriptionReturns LocalQueueStats for this queue.Methods inherited from interface com.hazelcast.collection.BaseQueueoffer, offer, poll, poll, size, takeMethods inherited from interface java.util.concurrent.BlockingQueueadd, contains, drainTo, drainTo, offer, offer, poll, put, remainingCapacity, remove, takeMethods inherited from interface java.util.CollectionaddAll, clear, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface com.hazelcast.core.DistributedObjectdestroy, getDestroyContextForTenant, getPartitionKey, getServiceNameMethods inherited from interface com.hazelcast.collection.ICollectionaddItemListener, getName, removeItemListener
- 
Method Details- 
getLocalQueueStatsLocalQueueStats getLocalQueueStats()Returns LocalQueueStats for this queue. LocalQueueStats is the statistics for the local portion of this queue.- Returns:
- this queue's local statistics.
 
 
-