Package io.aether.logger
Class LogAggregator
- java.lang.Object
-
- io.aether.logger.LogAggregator
-
- All Implemented Interfaces:
APredicate<LNode>,java.util.function.Predicate<LNode>
public class LogAggregator extends java.lang.Object implements APredicate<LNode>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classLogAggregator.AggregateEntry
-
Field Summary
-
Fields inherited from interface io.aether.utils.interfaces.APredicate
FALSE_STUB, TRUE_STUB
-
-
Constructor Summary
Constructors Constructor Description LogAggregator(java.util.List<java.lang.String> matchKeys, java.util.List<java.lang.String> diffKeys, long windowMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcalculateHash(LNode node)protected voidflush(LogAggregator.AggregateEntry entry)voidflushExpired()booleanisSame(LNode n1, LNode n2)booleantest2(LNode node)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.aether.utils.interfaces.APredicate
and, test
-
-
-
-
Method Detail
-
test2
public boolean test2(LNode node)
- Specified by:
test2in interfaceAPredicate<LNode>
-
calculateHash
public int calculateHash(LNode node)
-
flush
protected void flush(LogAggregator.AggregateEntry entry)
-
flushExpired
public void flushExpired()
-
-