public class SegmentLoaderConfig extends Object
| Constructor and Description |
|---|
SegmentLoaderConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAnnounceIntervalMillis() |
int |
getDropSegmentDelayMillis() |
File |
getInfoDir() |
List<StorageLocationConfig> |
getLocations() |
int |
getNumBootstrapThreads() |
int |
getNumLoadingThreads() |
int |
getStatusQueueMaxSize() |
StorageLocationSelectorStrategy |
getStorageLocationSelectorStrategy(List<StorageLocation> storageLocations) |
boolean |
isDeleteOnRemove() |
boolean |
isLazyLoadOnStart() |
String |
toString() |
SegmentLoaderConfig |
withLocations(List<StorageLocationConfig> locations) |
public List<StorageLocationConfig> getLocations()
public boolean isLazyLoadOnStart()
public boolean isDeleteOnRemove()
public int getDropSegmentDelayMillis()
public int getAnnounceIntervalMillis()
public int getNumLoadingThreads()
public int getNumBootstrapThreads()
public StorageLocationSelectorStrategy getStorageLocationSelectorStrategy(List<StorageLocation> storageLocations)
public File getInfoDir()
public int getStatusQueueMaxSize()
public SegmentLoaderConfig withLocations(List<StorageLocationConfig> locations)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.