Class LeaderInitiator.HazelcastContext
java.lang.Object
org.springframework.integration.hazelcast.leader.LeaderInitiator.HazelcastContext
- All Implemented Interfaces:
org.springframework.integration.leader.Context
- Enclosing class:
- LeaderInitiator
protected class LeaderInitiator.HazelcastContext
extends Object
implements org.springframework.integration.leader.Context
Implementation of leadership context backed by Hazelcast.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HazelcastContext
protected HazelcastContext()
-
-
Method Details
-
isLeader
public boolean isLeader()- Specified by:
isLeaderin interfaceorg.springframework.integration.leader.Context
-
yield
public void yield()- Specified by:
yieldin interfaceorg.springframework.integration.leader.Context
-
getRole
- Specified by:
getRolein interfaceorg.springframework.integration.leader.Context
-
toString
-