Class ContentPolicy.HostFetcher
java.lang.Object
com.yahoo.documentapi.messagebus.protocol.ContentPolicy.HostFetcher
- Direct Known Subclasses:
ContentPolicy.SlobrokHostFetcher
- Enclosing class:
- ContentPolicy
Helper class to match a host pattern with node to use.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
abstract String
getTargetSpec
(Integer distributor, com.yahoo.messagebus.routing.RoutingContext context)
-
Field Details
-
randomizer
-
-
Constructor Details
-
HostFetcher
protected HostFetcher(int percent)
-
-
Method Details
-
getTargetSpec
-
close
public void close()
-