Package org.elasticsearch.cluster.node
Class DiscoveryNodeFilters
- java.lang.Object
-
- org.elasticsearch.cluster.node.DiscoveryNodeFilters
-
public class DiscoveryNodeFilters extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiscoveryNodeFilters.OpType
-
Field Summary
Fields Modifier and Type Field Description static BiConsumer<String,String>IP_VALIDATORValidates the IP addresses in a group ofSettingsby looking for the keys "_ip", "_host_ip", and "_publish_ip" and ensuring each of their comma separated values that has no wildcards is a valid IP address.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiscoveryNodeFiltersbuildFromKeyValue(DiscoveryNodeFilters.OpType opType, Map<String,String> filters)booleanmatch(DiscoveryNode node)StringtoString()Generates a human-readable string for the DiscoverNodeFilters.
-
-
-
Field Detail
-
IP_VALIDATOR
public static final BiConsumer<String,String> IP_VALIDATOR
Validates the IP addresses in a group ofSettingsby looking for the keys "_ip", "_host_ip", and "_publish_ip" and ensuring each of their comma separated values that has no wildcards is a valid IP address.
-
-
Method Detail
-
buildFromKeyValue
public static DiscoveryNodeFilters buildFromKeyValue(DiscoveryNodeFilters.OpType opType, Map<String,String> filters)
-
match
public boolean match(DiscoveryNode node)
-
-