Class ScaleConfig

    • Method Detail

      • scalePercentage

        public final Integer scalePercentage()

        The percentage by which to scale the Memcached cluster, either horizontally by adding nodes or vertically by increasing resources.

        Returns:
        The percentage by which to scale the Memcached cluster, either horizontally by adding nodes or vertically by increasing resources.
      • scaleIntervalMinutes

        public final Integer scaleIntervalMinutes()

        The time interval in seconds between scaling operations when performing gradual scaling for a Memcached cluster.

        Returns:
        The time interval in seconds between scaling operations when performing gradual scaling for a Memcached cluster.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)