Class LogbackBatchingSettings


  • public class LogbackBatchingSettings
    extends Object
    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 Detail

      • LogbackBatchingSettings

        public LogbackBatchingSettings()
    • 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()