Class BufferingRequestLog

  • All Implemented Interfaces:
    Iterable<Exchange>

    public class BufferingRequestLog
    extends RequestLog
    A request log implemented with an in-memory buffer. Thread safe.
    Author:
    https://github.com/lbovet [Laurent Bovet]
    • Constructor Detail

      • BufferingRequestLog

        public BufferingRequestLog()
    • Method Detail

      • add

        public void add​(Exchange exchange)
      • dump

        public void dump​(BufferingRequestLog target)
        Move all exchange from this request log to another one.
        Parameters:
        target - target
      • clear

        public void clear()
      • toString

        public String toString()
        Overrides:
        toString in class com.google.common.collect.FluentIterable<Exchange>