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
  • Constructor Details

    • SpaceMemberAliveIndicator

      public SpaceMemberAliveIndicator(IJSpace spaceProxy, Boolean enabled)
  • Method Details

    • 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