Class SegmentLoaderConfig

java.lang.Object
org.apache.druid.segment.loading.SegmentLoaderConfig

public class SegmentLoaderConfig extends Object
  • Constructor Details

    • SegmentLoaderConfig

      public SegmentLoaderConfig()
  • Method Details

    • getLocations

      public List<StorageLocationConfig> getLocations()
    • isLazyLoadOnStart

      public boolean isLazyLoadOnStart()
    • isDeleteOnRemove

      public boolean isDeleteOnRemove()
    • getDropSegmentDelayMillis

      public int getDropSegmentDelayMillis()
    • getAnnounceIntervalMillis

      public int getAnnounceIntervalMillis()
    • getNumLoadingThreads

      public int getNumLoadingThreads()
    • getNumBootstrapThreads

      public int getNumBootstrapThreads()
    • getNumThreadsToLoadSegmentsIntoPageCacheOnDownload

      public int getNumThreadsToLoadSegmentsIntoPageCacheOnDownload()
    • getNumThreadsToLoadSegmentsIntoPageCacheOnBootstrap

      public int getNumThreadsToLoadSegmentsIntoPageCacheOnBootstrap()
    • getInfoDir

      public File getInfoDir()
    • getStatusQueueMaxSize

      public int getStatusQueueMaxSize()
    • getCombinedMaxSize

      public long getCombinedMaxSize()
    • withLocations

      public SegmentLoaderConfig withLocations(List<StorageLocationConfig> locations)
    • toStorageLocations

      public List<StorageLocation> toStorageLocations()
      Convert a list of StorageLocationConfig objects to StorageLocation objects.

      Note: getLocations() is called instead of variable access because some testcases overrides this method

    • toString

      public String toString()
      Overrides:
      toString in class Object