Interface WorkerConfig.AutoscalingPollerBehaviorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerConfig.AutoscalingPollerBehavior,WorkerConfig.AutoscalingPollerBehavior.Builder
- Enclosing class:
WorkerConfig
public static interface WorkerConfig.AutoscalingPollerBehaviorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThis many polls will be attempted initially before scaling kicks in.intAt most this many poll calls will ever be open at once.intAt least this many poll calls will always be attempted (assuming slots are available).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMinPollers
int getMinPollers()At least this many poll calls will always be attempted (assuming slots are available). Cannot be zero.
int32 min_pollers = 1;- Returns:
- The minPollers.
-
getMaxPollers
int getMaxPollers()At most this many poll calls will ever be open at once. Must be >= `minimum`.
int32 max_pollers = 2;- Returns:
- The maxPollers.
-
getInitialPollers
int getInitialPollers()This many polls will be attempted initially before scaling kicks in. Must be between `minimum` and `maximum`.
int32 initial_pollers = 3;- Returns:
- The initialPollers.
-