java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.HealthMonitor

public class HealthMonitor extends Object
The load balancing service includes a health monitoring operation which periodically checks your back-end nodes to ensure they are responding correctly. If a node is not responding, it is removed from rotation until the health monitor determines that the node is functional. In addition to being performed periodically, the health check also is performed against every node that is added to ensure that the node is operating properly before allowing it to service traffic. Only one health monitor is allowed to be enabled on a load balancer at a time.

As part of your strategy for monitoring connections, you should consider defining secondary nodes that provide failover for effectively routing traffic in case the primary node fails. This is an additional feature that will ensure you remain up in case your primary node fails.

  • Constructor Details

  • Method Details

    • getType

      public HealthMonitor.Type getType()
    • getDelay

      public int getDelay()
    • getTimeout

      public int getTimeout()
    • getAttemptsBeforeDeactivation

      public int getAttemptsBeforeDeactivation()
    • getBodyRegex

      public com.google.common.base.Optional<String> getBodyRegex()
    • getStatusRegex

      public com.google.common.base.Optional<String> getStatusRegex()
    • getPath

      public com.google.common.base.Optional<String> getPath()
    • getHostHeader

      public com.google.common.base.Optional<String> getHostHeader()
    • isValid

      public boolean isValid()
      Returns:
      true if this HealthMonitor is valid, false otherwise
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static HealthMonitor.Builder builder()
    • toBuilder

      public HealthMonitor.Builder toBuilder()