Class SegmentLoaderConfig


  • public class SegmentLoaderConfig
    extends Object
    • Constructor Detail

      • SegmentLoaderConfig

        public SegmentLoaderConfig()
    • Method Detail

      • 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()
      • toStorageLocations

        public List<StorageLocation> toStorageLocations()
        Convert StorageLocationConfig objects to StorageLocation objects

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