Package org.logevents.observers.batch
Class LogEventBatch
- java.lang.Object
-
- org.logevents.observers.batch.LogEventBatch
-
-
Constructor Summary
Constructors Constructor Description LogEventBatch()
LogEventBatch(List<LogEvent> batch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEventBatch
add(LogEvent logEvent)
void
clear()
LogEventGroup
firstHighestLevelLogEventGroup()
Collection<LogEventGroup>
groups()
boolean
isEmpty()
boolean
isMainGroup(LogEventGroup group)
Iterator<LogEvent>
iterator()
int
size()
String
toString()
-
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 LogEventBatch add(LogEvent logEvent)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
firstHighestLevelLogEventGroup
public LogEventGroup firstHighestLevelLogEventGroup()
-
isMainGroup
public boolean isMainGroup(LogEventGroup group)
-
groups
public Collection<LogEventGroup> groups()
-
clear
public void clear()
-
-