Interface BalancerConfiguration

All Known Implementing Classes:
BalancerConfigurationImpl, ModClusterConfig, ModClusterListener, ModClusterListener

public interface BalancerConfiguration
Author:
Brian Stansberry
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Maximum number of attempts to send the request to the backend server.
    boolean
    Enables sticky sessions.
    boolean
    Return an error when the request cannot be routed to the right node.
    boolean
    Remove session when the request cannot be routed to the right node.
    int
    Timeout to wait for an available worker (default is no wait).
  • Method Details

    • getStickySession

      boolean getStickySession()
      Enables sticky sessions.
    • getStickySessionRemove

      boolean getStickySessionRemove()
      Remove session when the request cannot be routed to the right node.
    • getStickySessionForce

      boolean getStickySessionForce()
      Return an error when the request cannot be routed to the right node.
    • getWorkerTimeout

      int getWorkerTimeout()
      Timeout to wait for an available worker (default is no wait).
    • getMaxAttempts

      int getMaxAttempts()
      Maximum number of attempts to send the request to the backend server.