Class QueueRateLimits
- java.lang.Object
-
- com.pulumi.gcp.cloudtasks.outputs.QueueRateLimits
-
public final class QueueRateLimits extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueueRateLimits.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueueRateLimits.Builder
builder()
static QueueRateLimits.Builder
builder(QueueRateLimits defaults)
java.util.Optional<java.lang.Integer>
maxBurstSize()
java.util.Optional<java.lang.Integer>
maxConcurrentDispatches()
java.util.Optional<java.lang.Double>
maxDispatchesPerSecond()
-
-
-
Method Detail
-
maxBurstSize
public java.util.Optional<java.lang.Integer> maxBurstSize()
- Returns:
- (Output) The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time.
-
maxConcurrentDispatches
public java.util.Optional<java.lang.Integer> maxConcurrentDispatches()
- Returns:
- The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases.
-
maxDispatchesPerSecond
public java.util.Optional<java.lang.Double> maxDispatchesPerSecond()
- Returns:
- The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default.
-
builder
public static QueueRateLimits.Builder builder()
-
builder
public static QueueRateLimits.Builder builder(QueueRateLimits defaults)
-
-