Class RoundRobinStorageLocationSelectorStrategy

java.lang.Object
org.apache.druid.segment.loading.RoundRobinStorageLocationSelectorStrategy
All Implemented Interfaces:
StorageLocationSelectorStrategy

public class RoundRobinStorageLocationSelectorStrategy extends Object implements StorageLocationSelectorStrategy
A StorageLocation selector strategy that selects a segment cache location in a round-robin fashion each time among the available storage locations. When Iterator.next() on iterator retuned by getLocations() is called the locations are returned in a round robin fashion even when multiple threads are in use.