Class BufferingRequestLog
- java.lang.Object
-
- com.google.common.collect.FluentIterable<Exchange>
-
- org.swisspush.gateleen.player.log.RequestLog
-
- org.swisspush.gateleen.player.log.BufferingRequestLog
-
public class BufferingRequestLog extends RequestLog
A request log implemented with an in-memory buffer. Thread safe.- Author:
- https://github.com/lbovet [Laurent Bovet]
-
-
Constructor Summary
Constructors Constructor Description BufferingRequestLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Exchange exchange)voidclear()voiddump(BufferingRequestLog target)Move all exchange from this request log to another one.Iterator<Exchange>iterator()StringtoString()-
Methods inherited from class com.google.common.collect.FluentIterable
allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, transform, transformAndConcat, uniqueIndex
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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()
-
-