Package org.apache.druid.segment.loading
Class SegmentLoaderConfig
java.lang.Object
org.apache.druid.segment.loading.SegmentLoaderConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongintintintintintintbooleanbooleanConvert a list ofStorageLocationConfigobjects toStorageLocationobjects.toString()withLocations(List<StorageLocationConfig> locations)
-
Constructor Details
-
SegmentLoaderConfig
public SegmentLoaderConfig()
-
-
Method Details
-
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
-
getStatusQueueMaxSize
public int getStatusQueueMaxSize() -
getCombinedMaxSize
public long getCombinedMaxSize() -
withLocations
-
toStorageLocations
Convert a list ofStorageLocationConfigobjects toStorageLocationobjects.Note:
getLocations()is called instead of variable access because some testcases overrides this method -
toString
-