GigaSpaces XAP 7.0 API

org.openspaces.pu.sla
Class MemberAliveIndicator

java.lang.Object
  extended by 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:
MemberAliveIndicator, Serialized Form

Constructor Summary
MemberAliveIndicator()
           
 
Method Summary
 long getInvocationDelay()
          How often an instance will be checked and verfied to be alive.
 int getRetryCount()
          Once a member has been indicated as not alive, how many times to check it before giving up on it.
 long getRetryTimeout()
          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 Detail

MemberAliveIndicator

public MemberAliveIndicator()
Method Detail

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.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.