Class MemberAliveIndicator

java.lang.Object
org.openspaces.pu.sla.MemberAliveIndicator
All Implemented Interfaces:
Serializable

public class MemberAliveIndicator extends Object implements Serializable
The member alive indicator allows to configure the SLA on how often a member will be checed to see if a member is alive, and in case of failure, how many times to retry and how often.
Author:
kimchy
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    How often an instance will be checked and verfied to be alive.
    int
    Once a member has been indicated as not alive, how many times to check it before giving up on it.
    long
    Once a member has been indicated as not alive, what is the retry timeout interval.
    void
    setInvocationDelay(long invocationDelay)
    How often an instance will be checked and verfied to be alive.
    void
    setRetryCount(int retryCount)
    Once a member has been indicated as not alive, how many times to check it before giving up on it.
    void
    setRetryTimeout(long retryTimeout)
    Once a member has been indicated as not alive, what is the retry timeout interval.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MemberAliveIndicator

      public MemberAliveIndicator()
  • Method Details

    • getInvocationDelay

      public long getInvocationDelay()
      How often an instance will be checked and verfied to be alive. In milliseconds and defaults to 5000, which are 5 seconds.
    • setInvocationDelay

      public void setInvocationDelay(long invocationDelay)
      How often an instance will be checked and verfied to be alive. In milliseconds and defaults to 5000, which are 5 seconds.
    • getRetryTimeout

      public long getRetryTimeout()
      Once a member has been indicated as not alive, what is the retry timeout interval. In milliseconds and defaults to 500 milliseconds.
    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
      Once a member has been indicated as not alive, what is the retry timeout interval. In milliseconds and defaults to 500 milliseconds.
    • getRetryCount

      public int getRetryCount()
      Once a member has been indicated as not alive, how many times to check it before giving up on it. Defaults to 3.
    • setRetryCount

      public void setRetryCount(int retryCount)
      Once a member has been indicated as not alive, how many times to check it before giving up on it. Defaults to 3.