com.hazelcast.spi
Interface MembershipAwareService

All Known Implementing Classes:
ClientEngineImpl, LockServiceImpl, SemaphoreService, TransactionManagerServiceImpl

public interface MembershipAwareService

An interface that can be implemented by a SPI service that needs to be notified members joining and leaving the cluster.

Author:
mdogan 9/5/12

Method Summary
 void memberAdded(MembershipServiceEvent event)
          Invoked when a new member is added to the cluster.
 void memberAttributeChanged(MemberAttributeServiceEvent event)
          Invoked when a member attribute is changed.
 void memberRemoved(MembershipServiceEvent event)
          Invoked when an existing member leaves the cluster.
 

Method Detail

memberAdded

void memberAdded(MembershipServiceEvent event)
Invoked when a new member is added to the cluster.


memberRemoved

void memberRemoved(MembershipServiceEvent event)
Invoked when an existing member leaves the cluster.


memberAttributeChanged

void memberAttributeChanged(MemberAttributeServiceEvent event)
Invoked when a member attribute is changed.



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.