org.openspaces.core.cluster
Class SpaceMemberAliveIndicator
java.lang.Object
org.openspaces.core.cluster.SpaceMemberAliveIndicator
- All Implemented Interfaces:
- MemberAliveIndicator
public class SpaceMemberAliveIndicator
- extends Object
- implements MemberAliveIndicator
- Since:
- 10.1
- Author:
- Niv Ingberg
Method Summary |
boolean |
isAlive()
Return true if the member is alive or not. |
boolean |
isMemberAliveEnabled()
Should this member be checked to see if it is alive or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceMemberAliveIndicator
public SpaceMemberAliveIndicator(IJSpace spaceProxy)
isMemberAliveEnabled
public boolean isMemberAliveEnabled()
- Description copied from interface:
MemberAliveIndicator
- Should this member be checked to see if it is alive or not.
- Specified by:
isMemberAliveEnabled
in interface MemberAliveIndicator
isAlive
public boolean isAlive()
throws Exception
- Description copied from interface:
MemberAliveIndicator
- Return
true
if the member is alive or not. An exception thrown
is considered as an indication that the member is not alive, and allows for
further information to be supplies as to the reason that the member is not
alive.
- Specified by:
isAlive
in interface MemberAliveIndicator
- Throws:
Exception
Copyright © GigaSpaces.