Class LogbackBatchingSettings (0.131.4-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
TypeDescription
BatchingSettings

setDelayThreshold(Long value)

public void setDelayThreshold(Long value)
Parameter
NameDescription
valueLong

setElementCountThreshold(Long value)

public void setElementCountThreshold(Long value)
Parameter
NameDescription
valueLong

setLimitExceededBehavior(FlowController.LimitExceededBehavior value)

public void setLimitExceededBehavior(FlowController.LimitExceededBehavior value)
Parameter
NameDescription
valueLimitExceededBehavior

setMaxOutstandingElementCount(Long value)

public void setMaxOutstandingElementCount(Long value)
Parameter
NameDescription
valueLong

setMaxOutstandingRequestBytes(Long value)

public void setMaxOutstandingRequestBytes(Long value)
Parameter
NameDescription
valueLong

setRequestByteThreshold(Long value)

public void setRequestByteThreshold(Long value)
Parameter
NameDescription
valueLong