Package org.apache.druid.segment.loading
Class SegmentLoaderConfig
java.lang.Object
org.apache.druid.segment.loading.SegmentLoaderConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongintintintintintintintbooleanbooleanbooleanbooleansetLocations(List<StorageLocationConfig> locations) setVirtualStorage(boolean virtualStorage, boolean virtualStorageFabricEphemeral) SetsvirtualStorageandvirtualStorageIsEphemeral.Convert a list ofStorageLocationConfigobjects toStorageLocationobjects.toString()
-
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() -
isVirtualStorage
public boolean isVirtualStorage() -
getVirtualStorageLoadThreads
public int getVirtualStorageLoadThreads() -
isVirtualStorageEphemeral
public boolean isVirtualStorageEphemeral() -
setLocations
-
setVirtualStorage
public SegmentLoaderConfig setVirtualStorage(boolean virtualStorage, boolean virtualStorageFabricEphemeral) SetsvirtualStorageandvirtualStorageIsEphemeral. -
toStorageLocations
Convert a list ofStorageLocationConfigobjects toStorageLocationobjects.Note:
getLocations()is called instead of variable access because some testcases overrides this method -
toString
-