Interface PreviousPrioritiesConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PreviousPrioritiesConfig, PreviousPrioritiesConfig.Builder

public interface PreviousPrioritiesConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    How often the priority load should be updated based on previously attempted priorities.

    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 Details

    • getUpdateFrequency

      int getUpdateFrequency()
       How often the priority load should be updated based on previously attempted priorities. Useful
       to allow each priorities to receive more than one request before being excluded or to reduce
       the number of times that the priority load has to be recomputed.
      
       For example, by setting this to 2, then the first two attempts (initial attempt and first
       retry) will use the unmodified priority load. The third and fourth attempt will use priority
       load which excludes the priorities routed to with the first two attempts, and the fifth and
       sixth attempt will use the priority load excluding the priorities used for the first four
       attempts.
      
       Must be greater than 0.
       
      int32 update_frequency = 1 [(.validate.rules) = { ... }
      Returns:
      The updateFrequency.