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 Details

    • HazelcastContext

      protected HazelcastContext()
  • Method Details

    • isLeader

      public boolean isLeader()
      Specified by:
      isLeader in interface org.springframework.integration.leader.Context
    • yield

      public void yield()
      Specified by:
      yield in interface org.springframework.integration.leader.Context
    • getRole

      public String getRole()
      Specified by:
      getRole in interface org.springframework.integration.leader.Context
    • toString

      public String toString()
      Overrides:
      toString in class Object