Package com.google.cloud.logging.logback
Class LogbackBatchingSettings
java.lang.Object
com.google.cloud.logging.logback.LogbackBatchingSettings
This class is used only to provide batch settings configuration in logback.xml since
BatchingSettings cannot be used as is with logback configuration
described in https://logback.qos.ch/manual/configuration.html. All data members below are simply
copy of BatchingSettings class, so it could be used with
logback.xml.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.batching.BatchingSettingsbuild()voidsetDelayThreshold(Long value) voidsetElementCountThreshold(Long value) voidsetLimitExceededBehavior(com.google.api.gax.batching.FlowController.LimitExceededBehavior value) voidvoidvoidsetRequestByteThreshold(Long value)
-
Constructor Details
-
LogbackBatchingSettings
public LogbackBatchingSettings()
-
-
Method Details
-
setElementCountThreshold
-
setRequestByteThreshold
-
setDelayThreshold
-
setMaxOutstandingElementCount
-
setMaxOutstandingRequestBytes
-
setLimitExceededBehavior
public void setLimitExceededBehavior(com.google.api.gax.batching.FlowController.LimitExceededBehavior value) -
build
public com.google.api.gax.batching.BatchingSettings build()
-