mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jdemendi
07.56.2009 1ebd7855e771c240edc58037a241e1109bc632ce
fix affinity timeout format and initialize affinity policy with NONE
2 files modified
9 ■■■■■ changed files
opends/src/admin/defn/org/opends/server/admin/std/NetworkGroupConfiguration.xml 6 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java 3 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/NetworkGroupConfiguration.xml
@@ -243,17 +243,17 @@
    <adm:synopsis>
      The period of time by which an affinity route remains active.
      The timeout value is a number of seconds and when the value is
      set to 0.0s (default value) then the route remains active forever.
      set to 0s (default value) then the route remains active forever.
    </adm:synopsis>
    <adm:description>
      When the client connection affinity is enabled, an affinity route
      might be elected in accordance with the affinity policy. The affinity
      route is then used until the timeout value expires unless the timeout
      value is 0.0s in which case the route remains active forever.
      value is 0s in which case the route remains active forever.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0.0s</adm:value>
        <adm:value>0s</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
opends/src/server/org/opends/server/core/networkgroups/NetworkGroup.java
@@ -142,7 +142,8 @@
  private NetworkGroupStatistics stats;
  // The client connection affinity policy.
  private ClientConnectionAffinityPolicy affinityPolicy = null;
  private ClientConnectionAffinityPolicy affinityPolicy =
    ClientConnectionAffinityPolicy.NONE;
  // The client connection affinity timeout (number of seconds).
  private long affinityTimeout = 0;