Package io.temporal.api.sdk.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetInitialPollers()This many polls will be attempted initially before scaling kicks in.intgetMaxPollers()At most this many poll calls will ever be open at once.intgetMinPollers()At least this many poll calls will always be attempted (assuming slots are available).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-