Package com.hazelcast.spi.discovery
Interface NodeFilter
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
The NodeFilter, if supplied, will retrieve all discovered nodes and might
 apply additional filtering based on vendor provided metadata. These metadata
 are expected to be provided using the 
DiscoveryNode.getProperties()
 method and may contain additional information initially setup by the user.
 This is useful for additional security settings, to apply a certain type of policy or to work around insufficient query languages of cloud providers.
 Denied DiscoveryNodes will not be
 handed over to the Hazelcast connection framework and therefore are not
 known to the discovered.
- Since:
 - 3.6
 
- 
Method Summary
Modifier and TypeMethodDescriptionbooleantest(DiscoveryNode candidate) Accepts or denies aDiscoveryNodebased on the implemented rules. 
- 
Method Details
- 
test
Accepts or denies aDiscoveryNodebased on the implemented rules.- Parameters:
 candidate- the candidate to be tested- Returns:
 - true if the DiscoveryNode is selected to be discovered, otherwise false.
 
 
 -