Package io.hekate.cluster
Interface ClusterNodeFilter
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ClusterNodeFilter
Interface for cluster nodes filtering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(ClusterNode node)
Returnstrue
if this filter accepts the specified node.
-
-
-
Method Detail
-
accept
boolean accept(ClusterNode node)
Returnstrue
if this filter accepts the specified node.- Parameters:
node
- Cluster node.- Returns:
true
if this filter accepts the specified node.
-
-