@ConsumerType
public interface InstanceFilter
DiscoveryService#findInstances(InstanceFilter)
Modifier and Type | Method and Description |
---|---|
boolean |
accept(InstanceDescription instance)
Returns true if this InstanceFilter selects the given InstanceDescription.
|
boolean accept(InstanceDescription instance)
instance
- the InstanceDescription for which to decide if this
InstanceFilter accepts it or not.Copyright © 2018 The Apache Software Foundation. All rights reserved.