GigaSpaces XAP 7.0 API

org.openspaces.core.cluster
Interface MemberAliveIndicator

All Known Implementing Classes:
AbstractSpaceFactoryBean, DirectSpaceFactoryBean, UrlSpaceFactoryBean

public interface MemberAliveIndicator

A marker interface allowing beans to indicate the liveliness of a cluster member.

Author:
kimchy

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.
 

Method Detail

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.