public class KafkaTuningConfig extends Object implements TuningConfig, AppenderatorConfig
| Constructor and Description |
|---|
KafkaTuningConfig(Integer maxRowsInMemory,
Integer maxRowsPerSegment,
org.joda.time.Period intermediatePersistPeriod,
File basePersistDirectory,
Integer maxPendingPersists,
IndexSpec indexSpec,
Boolean buildV9Directly,
Boolean reportParseExceptions,
Long handoffConditionTimeout) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBasePersistDirectory() |
boolean |
getBuildV9Directly() |
long |
getHandoffConditionTimeout() |
IndexSpec |
getIndexSpec() |
org.joda.time.Period |
getIntermediatePersistPeriod() |
int |
getMaxPendingPersists() |
int |
getMaxRowsInMemory() |
int |
getMaxRowsPerSegment() |
boolean |
isReportParseExceptions() |
KafkaTuningConfig |
withBasePersistDirectory(File dir) |
public KafkaTuningConfig(Integer maxRowsInMemory, Integer maxRowsPerSegment, org.joda.time.Period intermediatePersistPeriod, File basePersistDirectory, Integer maxPendingPersists, IndexSpec indexSpec, Boolean buildV9Directly, Boolean reportParseExceptions, Long handoffConditionTimeout)
public int getMaxRowsInMemory()
getMaxRowsInMemory in interface AppenderatorConfigpublic int getMaxRowsPerSegment()
public org.joda.time.Period getIntermediatePersistPeriod()
getIntermediatePersistPeriod in interface AppenderatorConfigpublic File getBasePersistDirectory()
getBasePersistDirectory in interface AppenderatorConfigpublic int getMaxPendingPersists()
getMaxPendingPersists in interface AppenderatorConfigpublic IndexSpec getIndexSpec()
getIndexSpec in interface AppenderatorConfigpublic boolean getBuildV9Directly()
public boolean isReportParseExceptions()
isReportParseExceptions in interface AppenderatorConfigpublic long getHandoffConditionTimeout()
public KafkaTuningConfig withBasePersistDirectory(File dir)
Copyright © 2011–2016. All rights reserved.