Interface ScaledTriggerOrBuilder

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

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

    Modifier and Type
    Method
    Description
    double
    If the resource pressure is greater than this value, the trigger will enter saturation.
    double
    If the resource pressure is greater than this value, the trigger will be in the :ref:`scaling <arch_overview_overload_manager-triggers-state>` state with value ``(pressure - scaling_threshold) / (saturation_threshold - scaling_threshold)``.

    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

    • getScalingThreshold

      double getScalingThreshold()
       If the resource pressure is greater than this value, the trigger will be in the
       :ref:`scaling <arch_overview_overload_manager-triggers-state>` state with value
       ``(pressure - scaling_threshold) / (saturation_threshold - scaling_threshold)``.
       
      double scaling_threshold = 1 [(.validate.rules) = { ... }
      Returns:
      The scalingThreshold.
    • getSaturationThreshold

      double getSaturationThreshold()
       If the resource pressure is greater than this value, the trigger will enter saturation.
       
      double saturation_threshold = 2 [(.validate.rules) = { ... }
      Returns:
      The saturationThreshold.