Class VipStatus


  • public class VipStatus
    extends java.lang.Object
    A component which keeps track of whether or not this container instance should receive traffic and respond that it is in good health. This is multithread safe.
    Author:
    Steinar Knutsen, bratseth
    • Method Detail

      • setInRotation

        public void setInRotation​(java.lang.Boolean inRotation)
        Explicitly set this container in or out of rotation
        Parameters:
        inRotation - true to set this in rotation regardless of any clusters and of the default value, false to set it out, and null to make this decision using the usual cluster-dependent logic
      • addToRotation

        public void addToRotation​(java.lang.String clusterIdentifier)
        Note that a cluster (which influences up/down state) is up
      • removeFromRotation

        public void removeFromRotation​(java.lang.String clusterIdentifier)
        Note that a cluster (which influences up/down state) is down
      • addToRotation

        @Deprecated
        public void addToRotation​(java.lang.Object clusterIdentifier)
        Deprecated.
        use addToRotation(String) instead
      • removeFromRotation

        @Deprecated
        public void removeFromRotation​(java.lang.Object clusterIdentifier)
        Deprecated.
        use removeFromRotation(String) instead
      • isInRotation

        public boolean isInRotation()
        Returns whether this container should receive traffic at this time