Package com.h2tcoin.takamakachain.p2p
Class TakamakaMembership
- java.lang.Object
-
- com.h2tcoin.takamakachain.p2p.TakamakaMembership
-
- All Implemented Interfaces:
com.hazelcast.core.MembershipListener
,EventListener
public class TakamakaMembership extends Object implements com.hazelcast.core.MembershipListener
- Author:
- francesco.pasetto@h2tcoin.com
-
-
Constructor Summary
Constructors Constructor Description TakamakaMembership(com.hazelcast.core.HazelcastInstance instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.hazelcast.core.HazelcastInstance
getInstance()
void
memberAdded(com.hazelcast.core.MembershipEvent membershipEvent)
void
memberAttributeChanged(com.hazelcast.core.MemberAttributeEvent memberAttributeEvent)
void
memberRemoved(com.hazelcast.core.MembershipEvent membershipEvent)
void
setInstance(com.hazelcast.core.HazelcastInstance instance)
-
-
-
Method Detail
-
getInstance
public com.hazelcast.core.HazelcastInstance getInstance()
-
setInstance
public void setInstance(com.hazelcast.core.HazelcastInstance instance)
-
memberAdded
public void memberAdded(com.hazelcast.core.MembershipEvent membershipEvent)
- Specified by:
memberAdded
in interfacecom.hazelcast.core.MembershipListener
-
memberRemoved
public void memberRemoved(com.hazelcast.core.MembershipEvent membershipEvent)
- Specified by:
memberRemoved
in interfacecom.hazelcast.core.MembershipListener
-
memberAttributeChanged
public void memberAttributeChanged(com.hazelcast.core.MemberAttributeEvent memberAttributeEvent)
- Specified by:
memberAttributeChanged
in interfacecom.hazelcast.core.MembershipListener
-
-