Class ClusterInfoHolder
- java.lang.Object
-
- com.floragunn.searchguard.configuration.ClusterInfoHolder
-
- All Implemented Interfaces:
org.elasticsearch.cluster.ClusterStateListener
public class ClusterInfoHolder extends Object implements org.elasticsearch.cluster.ClusterStateListener
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.logging.log4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description ClusterInfoHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclusterChanged(org.elasticsearch.cluster.ClusterChangedEvent event)BooleangetHas6xIndices()BooleangetHas6xNodes()BooleanhasNode(org.elasticsearch.cluster.node.DiscoveryNode node)booleanisInitialized()BooleanisLocalNodeElectedMaster()
-
-
-
Method Detail
-
clusterChanged
public void clusterChanged(org.elasticsearch.cluster.ClusterChangedEvent event)
- Specified by:
clusterChangedin interfaceorg.elasticsearch.cluster.ClusterStateListener
-
getHas6xNodes
public Boolean getHas6xNodes()
-
getHas6xIndices
public Boolean getHas6xIndices()
-
isLocalNodeElectedMaster
public Boolean isLocalNodeElectedMaster()
-
isInitialized
public boolean isInitialized()
-
hasNode
public Boolean hasNode(org.elasticsearch.cluster.node.DiscoveryNode node)
-
-