Class LoomPriorityQueue<E>
java.lang.Object
com.loomcache.client.LoomPriorityQueue<E>
Client-side handle to a distributed priority queue stored in the cluster.
Elements are dequeued in descending numeric priority order; elements with equal priority are
returned in FIFO order. Use offer(Object, int) to specify an explicit priority, or
offer(Object) to let the server assign a default. Obtain instances via
LoomClient.getPriorityQueue.
-
Method Summary
-
Method Details
-
offer
-
offer
-
poll
-
peek
-
size
public long size() -
clear
public void clear()
-