Interface MemberAliveIndicator

All Known Implementing Classes:
AbstractSpaceFactoryBean, DirectSpaceFactoryBean, EmbeddedSpaceFactoryBean, SpaceMemberAliveIndicator, SpaceProxyFactoryBean, UrlSpaceFactoryBean

public interface MemberAliveIndicator
A marker interface allowing beans to indicate the liveliness of a cluster member.
Author:
kimchy
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if the member is alive or not.
    boolean
    Should this member be checked to see if it is alive or not.
  • Method Details

    • isMemberAliveEnabled

      boolean isMemberAliveEnabled()
      Should this member be checked to see if it is alive or not.
    • isAlive

      boolean isAlive() throws Exception
      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.
      Throws:
      Exception