| Modifier and Type | Method and Description |
|---|---|
FIFOQueue.Options |
capacity(Long capacity) |
FIFOQueue.Options |
container(String container) |
FIFOQueue.Options |
shapes(List<Shape> shapes) |
FIFOQueue.Options |
sharedName(String sharedName) |
public FIFOQueue.Options shapes(List<Shape> shapes)
shapes - The shape of each component in a value. The length of this attr must
be either 0 or the same as the length of component_types. If the length of
this attr is 0, the shapes of queue elements are not constrained, and
only one element may be dequeued at a time.public FIFOQueue.Options capacity(Long capacity)
capacity - The upper bound on the number of elements in this queue.
Negative numbers mean no limit.public FIFOQueue.Options container(String container)
container - If non-empty, this queue is placed in the given container.
Otherwise, a default container is used.public FIFOQueue.Options sharedName(String sharedName)
sharedName - If non-empty, this queue will be shared under the given name
across multiple sessions.Copyright © 2015–2019. All rights reserved.