Enum Class ProxyBackendCfgDefn.HashFunction

java.lang.Object
java.lang.Enum<ProxyBackendCfgDefn.HashFunction>
org.forgerock.opendj.server.config.meta.ProxyBackendCfgDefn.HashFunction
All Implemented Interfaces:
Serializable, Comparable<ProxyBackendCfgDefn.HashFunction>, java.lang.constant.Constable
Enclosing class:
ProxyBackendCfgDefn

public static enum ProxyBackendCfgDefn.HashFunction extends Enum<ProxyBackendCfgDefn.HashFunction>
Defines the set of permissible values for the "hash-function" property.

Specifies the hash function which will be used for data distribution.

This setting only applies to data distribution. Once this server is deployed, this setting must not be modified. Doing so could result in data loss. The hash function is used by the router to map incoming requests to a target server based on the request's target DN. The role of the hash function is to ensure that the flow of incoming requests is evenly distributed on the set of servers.

  • Enum Constant Details

    • MD5

      public static final ProxyBackendCfgDefn.HashFunction MD5
      Use the MD5 hash algorithm. This hash function does not distribute data evenly and should not be used in new deployments.
    • MURMUR3

      public static final ProxyBackendCfgDefn.HashFunction MURMUR3
      Use the Murmur3 hash algorithm. This hash function distributes data more evenly than MD5 and should be used in new deployments.
  • Method Details

    • values

      public static ProxyBackendCfgDefn.HashFunction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProxyBackendCfgDefn.HashFunction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ProxyBackendCfgDefn.HashFunction>