Class HelixInstanceDataManagerConfig
- java.lang.Object
-
- org.apache.pinot.server.starter.helix.HelixInstanceDataManagerConfig
-
- All Implemented Interfaces:
InstanceDataManagerConfig
public class HelixInstanceDataManagerConfig extends Object implements InstanceDataManagerConfig
The config used for HelixInstanceDataManager.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONSUMER_DIRstatic StringINSTANCE_BOOTSTRAP_SEGMENT_DIRstatic StringINSTANCE_DATA_DIRstatic StringINSTANCE_IDstatic StringINSTANCE_RELOAD_CONSUMING_SEGMENTstatic StringINSTANCE_SEGMENT_TAR_DIRstatic StringkEY_OF_TABLE_DATA_DIRECTORYstatic StringkEY_OF_TABLE_NAMEstatic StringREAD_MODEstatic StringSEGMENT_DIRECTORY_LOADERstatic StringSEGMENT_FORMAT_VERSION
-
Constructor Summary
Constructors Constructor Description HelixInstanceDataManagerConfig(PinotConfiguration serverConfig)
-
Method Summary
Modifier and Type Method Description StringgetAvgMultiValueCount()PinotConfigurationgetConfig()StringgetConsumerDir()intgetDeletedSegmentsCacheSize()intgetDeletedSegmentsCacheTtlMinutes()longgetErrorCacheSize()StringgetInstanceBootstrapSegmentDir()StringgetInstanceDataDir()StringgetInstanceId()StringgetInstanceSegmentTarDir()intgetMaxParallelRefreshThreads()intgetMaxParallelSegmentBuilds()intgetMaxParallelSegmentDownloads()ReadModegetReadMode()StringgetSegmentDirectoryLoader()StringgetSegmentFormatVersion()StringgetSegmentPeerDownloadScheme()StringgetSegmentStoreUri()longgetStreamSegmentDownloadUntarRateLimit()booleanisDirectRealtimeOffHeapAllocation()booleanisEnableSplitCommit()booleanisEnableSplitCommitEndWithMetadata()booleanisRealtimeOffHeapAllocation()booleanisStreamSegmentDownloadUntar()booleanshouldReloadConsumingSegment()StringtoString()
-
-
-
Field Detail
-
INSTANCE_ID
public static final String INSTANCE_ID
- See Also:
- Constant Field Values
-
INSTANCE_DATA_DIR
public static final String INSTANCE_DATA_DIR
- See Also:
- Constant Field Values
-
CONSUMER_DIR
public static final String CONSUMER_DIR
- See Also:
- Constant Field Values
-
INSTANCE_SEGMENT_TAR_DIR
public static final String INSTANCE_SEGMENT_TAR_DIR
- See Also:
- Constant Field Values
-
INSTANCE_BOOTSTRAP_SEGMENT_DIR
public static final String INSTANCE_BOOTSTRAP_SEGMENT_DIR
- See Also:
- Constant Field Values
-
kEY_OF_TABLE_DATA_DIRECTORY
public static final String kEY_OF_TABLE_DATA_DIRECTORY
- See Also:
- Constant Field Values
-
kEY_OF_TABLE_NAME
public static final String kEY_OF_TABLE_NAME
- See Also:
- Constant Field Values
-
READ_MODE
public static final String READ_MODE
- See Also:
- Constant Field Values
-
SEGMENT_FORMAT_VERSION
public static final String SEGMENT_FORMAT_VERSION
- See Also:
- Constant Field Values
-
INSTANCE_RELOAD_CONSUMING_SEGMENT
public static final String INSTANCE_RELOAD_CONSUMING_SEGMENT
- See Also:
- Constant Field Values
-
SEGMENT_DIRECTORY_LOADER
public static final String SEGMENT_DIRECTORY_LOADER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HelixInstanceDataManagerConfig
public HelixInstanceDataManagerConfig(PinotConfiguration serverConfig) throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
-
-
Method Detail
-
getConfig
public PinotConfiguration getConfig()
- Specified by:
getConfigin interfaceInstanceDataManagerConfig
-
getInstanceId
public String getInstanceId()
- Specified by:
getInstanceIdin interfaceInstanceDataManagerConfig
-
getInstanceDataDir
public String getInstanceDataDir()
- Specified by:
getInstanceDataDirin interfaceInstanceDataManagerConfig
-
getConsumerDir
public String getConsumerDir()
- Specified by:
getConsumerDirin interfaceInstanceDataManagerConfig
-
getInstanceSegmentTarDir
public String getInstanceSegmentTarDir()
- Specified by:
getInstanceSegmentTarDirin interfaceInstanceDataManagerConfig
-
getInstanceBootstrapSegmentDir
public String getInstanceBootstrapSegmentDir()
- Specified by:
getInstanceBootstrapSegmentDirin interfaceInstanceDataManagerConfig
-
getSegmentStoreUri
public String getSegmentStoreUri()
- Specified by:
getSegmentStoreUriin interfaceInstanceDataManagerConfig
-
getReadMode
public ReadMode getReadMode()
- Specified by:
getReadModein interfaceInstanceDataManagerConfig
-
getSegmentFormatVersion
public String getSegmentFormatVersion()
- Specified by:
getSegmentFormatVersionin interfaceInstanceDataManagerConfig
-
isEnableSplitCommit
public boolean isEnableSplitCommit()
- Specified by:
isEnableSplitCommitin interfaceInstanceDataManagerConfig
-
isEnableSplitCommitEndWithMetadata
public boolean isEnableSplitCommitEndWithMetadata()
- Specified by:
isEnableSplitCommitEndWithMetadatain interfaceInstanceDataManagerConfig
-
isRealtimeOffHeapAllocation
public boolean isRealtimeOffHeapAllocation()
- Specified by:
isRealtimeOffHeapAllocationin interfaceInstanceDataManagerConfig
-
isDirectRealtimeOffHeapAllocation
public boolean isDirectRealtimeOffHeapAllocation()
- Specified by:
isDirectRealtimeOffHeapAllocationin interfaceInstanceDataManagerConfig
-
shouldReloadConsumingSegment
public boolean shouldReloadConsumingSegment()
-
getAvgMultiValueCount
public String getAvgMultiValueCount()
- Specified by:
getAvgMultiValueCountin interfaceInstanceDataManagerConfig
-
getMaxParallelRefreshThreads
public int getMaxParallelRefreshThreads()
-
getMaxParallelSegmentBuilds
public int getMaxParallelSegmentBuilds()
- Specified by:
getMaxParallelSegmentBuildsin interfaceInstanceDataManagerConfig
-
getMaxParallelSegmentDownloads
public int getMaxParallelSegmentDownloads()
- Specified by:
getMaxParallelSegmentDownloadsin interfaceInstanceDataManagerConfig
-
getSegmentDirectoryLoader
public String getSegmentDirectoryLoader()
- Specified by:
getSegmentDirectoryLoaderin interfaceInstanceDataManagerConfig
-
getErrorCacheSize
public long getErrorCacheSize()
- Specified by:
getErrorCacheSizein interfaceInstanceDataManagerConfig
-
isStreamSegmentDownloadUntar
public boolean isStreamSegmentDownloadUntar()
- Specified by:
isStreamSegmentDownloadUntarin interfaceInstanceDataManagerConfig
-
getStreamSegmentDownloadUntarRateLimit
public long getStreamSegmentDownloadUntarRateLimit()
- Specified by:
getStreamSegmentDownloadUntarRateLimitin interfaceInstanceDataManagerConfig
-
getDeletedSegmentsCacheSize
public int getDeletedSegmentsCacheSize()
- Specified by:
getDeletedSegmentsCacheSizein interfaceInstanceDataManagerConfig
-
getDeletedSegmentsCacheTtlMinutes
public int getDeletedSegmentsCacheTtlMinutes()
- Specified by:
getDeletedSegmentsCacheTtlMinutesin interfaceInstanceDataManagerConfig
-
getSegmentPeerDownloadScheme
public String getSegmentPeerDownloadScheme()
- Specified by:
getSegmentPeerDownloadSchemein interfaceInstanceDataManagerConfig
-
-