Interface WorkerConfig.AutoscalingPollerBehaviorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getInitialPollers()
      This many polls will be attempted initially before scaling kicks in.
      int getMaxPollers()
      At most this many poll calls will ever be open at once.
      int getMinPollers()
      At least this many poll calls will always be attempted (assuming slots are available).
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.