public static class PriorityQueue.Options extends Object
PriorityQueue
Modifier and Type | Method and Description |
---|---|
PriorityQueue.Options |
capacity(Long capacity) |
PriorityQueue.Options |
container(String container) |
PriorityQueue.Options |
sharedName(String sharedName) |
public PriorityQueue.Options capacity(Long capacity)
capacity
- The upper bound on the number of elements in this queue.
Negative numbers mean no limit.public PriorityQueue.Options container(String container)
container
- If non-empty, this queue is placed in the given container.
Otherwise, a default container is used.public PriorityQueue.Options sharedName(String sharedName)
sharedName
- If non-empty, this queue will be shared under the given name
across multiple sessions.Copyright © 2022. All rights reserved.