Class StoragePolicy.SlobrokHostFetcher
- java.lang.Object
-
- com.yahoo.documentapi.messagebus.protocol.StoragePolicy.HostFetcher
-
- com.yahoo.documentapi.messagebus.protocol.StoragePolicy.SlobrokHostFetcher
-
- Enclosing class:
- StoragePolicy
public static class StoragePolicy.SlobrokHostFetcher extends StoragePolicy.HostFetcher
Host fetcher using a slobrok mirror to find the hosts.
-
-
Field Summary
-
Fields inherited from class com.yahoo.documentapi.messagebus.protocol.StoragePolicy.HostFetcher
randomizer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.jrt.slobrok.api.IMirror
getMirror(com.yahoo.messagebus.routing.RoutingContext context)
java.lang.String
getTargetSpec(java.lang.Integer distributor, com.yahoo.messagebus.routing.RoutingContext context)
-
Methods inherited from class com.yahoo.documentapi.messagebus.protocol.StoragePolicy.HostFetcher
close
-
-
-
-
Method Detail
-
getMirror
public com.yahoo.jrt.slobrok.api.IMirror getMirror(com.yahoo.messagebus.routing.RoutingContext context)
-
getTargetSpec
public java.lang.String getTargetSpec(java.lang.Integer distributor, com.yahoo.messagebus.routing.RoutingContext context)
- Specified by:
getTargetSpec
in classStoragePolicy.HostFetcher
-
-