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