Package gorsat
Interface BatchedReadSourceConfig
-
- All Superinterfaces:
org.aeonbits.owner.Config,java.io.Serializable
public interface BatchedReadSourceConfig extends org.aeonbits.owner.ConfigCreated by sigmar on 26/04/2017.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aeonbits.owner.Config
org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBATCHBUFFERFILLTIME_KEYstatic java.lang.StringBATCHEDREADSOURCETIMETRIGGERMS_KEYstatic java.lang.StringBATCHLOGINTERVALMS_KEYstatic java.lang.StringBATCHMAXGORLINES_KEYstatic java.lang.StringBATCHOFFERTIMEOUTMS_KEYstatic java.lang.StringCONNECTIONRETRIES_KEYstatic java.lang.StringCONNECTIONRETRYEXPONENT_KEYstatic java.lang.StringCONNECTIONRETRYTIME_KEYstatic java.lang.StringFRAMEBUFFERSIZE_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.time.DurationgetBatchOfferTimeout()java.time.DurationgetBufferFillTime()java.time.DurationgetBufferFlushTimout()java.lang.IntegergetConnectionRetries()java.lang.DoublegetConnectionRetryExponent()java.time.DurationgetConnectionRetryTime()java.lang.IntegergetFrameBufferSize()java.time.DurationgetLogInterval()java.lang.IntegergetMaxGorlines()
-
-
-
Field Detail
-
BATCHEDREADSOURCETIMETRIGGERMS_KEY
static final java.lang.String BATCHEDREADSOURCETIMETRIGGERMS_KEY
- See Also:
- Constant Field Values
-
BATCHOFFERTIMEOUTMS_KEY
static final java.lang.String BATCHOFFERTIMEOUTMS_KEY
- See Also:
- Constant Field Values
-
BATCHLOGINTERVALMS_KEY
static final java.lang.String BATCHLOGINTERVALMS_KEY
- See Also:
- Constant Field Values
-
BATCHMAXGORLINES_KEY
static final java.lang.String BATCHMAXGORLINES_KEY
- See Also:
- Constant Field Values
-
BATCHBUFFERFILLTIME_KEY
static final java.lang.String BATCHBUFFERFILLTIME_KEY
- See Also:
- Constant Field Values
-
FRAMEBUFFERSIZE_KEY
static final java.lang.String FRAMEBUFFERSIZE_KEY
- See Also:
- Constant Field Values
-
CONNECTIONRETRIES_KEY
static final java.lang.String CONNECTIONRETRIES_KEY
- See Also:
- Constant Field Values
-
CONNECTIONRETRYTIME_KEY
static final java.lang.String CONNECTIONRETRYTIME_KEY
- See Also:
- Constant Field Values
-
CONNECTIONRETRYEXPONENT_KEY
static final java.lang.String CONNECTIONRETRYEXPONENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConnectionRetries
@Key("gor.cmd.connection.retries") @DefaultValue("10") @Documentation("Maximum number of connection retries") java.lang.Integer getConnectionRetries()
-
getConnectionRetryExponent
@Key("gor.cmd.connection.retry.exponent") @DefaultValue("0.0") @Documentation("Maximum number of connection retries") java.lang.Double getConnectionRetryExponent()
-
getConnectionRetryTime
@Key("gor.cmd.connection.retry.time") @DefaultValue("1s") @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class) @Documentation("Connection retry wait time") java.time.Duration getConnectionRetryTime()
-
getFrameBufferSize
@Key("gor.cmd.framebuffer.size") @DefaultValue("4000000") @Documentation("Limit the size of gorline batch to fit in GRPC/HTTP2 framebuffer") java.lang.Integer getFrameBufferSize()
-
getMaxGorlines
@Key("gor.batch.max.gorlines") @DefaultValue("16384") @Documentation("Maximum number of gorlines in batch") java.lang.Integer getMaxGorlines()
-
getBufferFillTime
@Key("gor.bufferfill.time") @DefaultValue("1000ms") @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class) @Documentation("Max milliseconds until read buffer is flushed") java.time.Duration getBufferFillTime()
-
getBufferFlushTimout
@Key("gor.bufferflush.timetrigger") @DefaultValue("100ms") @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class) @Documentation("Minimum milliseconds until read buffer is flushed") java.time.Duration getBufferFlushTimout()
-
getBatchOfferTimeout
@Key("gor.batch.offer.timeout") @DefaultValue("100ms") @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class) @Documentation("Minimum milliseconds until batch offer times out") java.time.Duration getBatchOfferTimeout()
-
getLogInterval
@Key("gor.batch.log.interval") @DefaultValue("3 seconds") @ConverterClass(org.gorpipe.base.config.converters.DurationConverter.class) @Documentation("Log interval while waiting for a batch") java.time.Duration getLogInterval()
-
-