Package org.apache.druid.client.selector
Class ConnectionCountServerSelectorStrategy
java.lang.Object
org.apache.druid.client.selector.ConnectionCountServerSelectorStrategy
- All Implemented Interfaces:
ServerSelectorStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpick(Set<QueryableDruidServer> servers, DataSegment segment) pick(Set<QueryableDruidServer> servers, DataSegment segment, int numServersToPick) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.client.selector.ServerSelectorStrategy
pick, pick
-
Constructor Details
-
ConnectionCountServerSelectorStrategy
public ConnectionCountServerSelectorStrategy()
-
-
Method Details
-
pick
- Specified by:
pickin interfaceServerSelectorStrategy
-
pick
public List<QueryableDruidServer> pick(Set<QueryableDruidServer> servers, DataSegment segment, int numServersToPick) - Specified by:
pickin interfaceServerSelectorStrategy
-