Class LogbackBatchingSettings (0.131.17-alpha)

public class LogbackBatchingSettings

This class is used only to provide batch settings configuration in logback.xml since com.google.api.gax.batching.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 com.google.api.gax.batching.BatchingSettings class, so it could be used with logback.xml.

Inheritance

java.lang.Object > LogbackBatchingSettings

Constructors

LogbackBatchingSettings()

public LogbackBatchingSettings()

Methods

build()

public BatchingSettings build()
Returns
Type Description
BatchingSettings

setDelayThreshold(Long value)

public void setDelayThreshold(Long value)
Parameter
Name Description
value Long

setElementCountThreshold(Long value)

public void setElementCountThreshold(Long value)
Parameter
Name Description
value Long

setLimitExceededBehavior(FlowController.LimitExceededBehavior value)

public void setLimitExceededBehavior(FlowController.LimitExceededBehavior value)
Parameter
Name Description
value LimitExceededBehavior

setMaxOutstandingElementCount(Long value)

public void setMaxOutstandingElementCount(Long value)
Parameter
Name Description
value Long

setMaxOutstandingRequestBytes(Long value)

public void setMaxOutstandingRequestBytes(Long value)
Parameter
Name Description
value Long

setRequestByteThreshold(Long value)

public void setRequestByteThreshold(Long value)
Parameter
Name Description
value Long