PriorityQueue.Options

public static class PriorityQueue.Options

Optional attributes for PriorityQueue

Public Methods

PriorityQueue.Options
capacity(Long capacity)
PriorityQueue.Options
container(String container)
PriorityQueue.Options
sharedName(String sharedName)

Inherited Methods

Public Methods

public PriorityQueue.Options capacity (Long capacity)

Parameters
capacity The upper bound on the number of elements in this queue. Negative numbers mean no limit.

public PriorityQueue.Options container (String container)

Parameters
container If non-empty, this queue is placed in the given container. Otherwise, a default container is used.

public PriorityQueue.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this queue will be shared under the given name across multiple sessions.