Constructor and Description |
---|
Log4JSource(String file) |
Modifier and Type | Method and Description |
---|---|
long |
getEndTime() |
int |
getServerId() |
LogSkipList |
getSkipList() |
long |
getStartTime() |
LogIterator |
iterator() |
LogIterator |
iterator(long starttime,
long endtime) |
LogIterator |
iterator(long starttime,
long endtime,
FilterOp filter) |
static void |
main(String[] args) |
boolean |
overlapsRange(long starttime,
long endtime) |
long |
size() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Log4JSource(String file) throws IOException
IOException
public boolean overlapsRange(long starttime, long endtime)
overlapsRange
in interface LogSource
public long getStartTime()
getStartTime
in interface LogSource
public long getEndTime()
getEndTime
in interface LogSource
public LogSkipList getSkipList()
public LogIterator iterator(long starttime, long endtime) throws IllegalArgumentException
iterator
in interface LogSource
IllegalArgumentException
public LogIterator iterator(long starttime, long endtime, FilterOp filter) throws IllegalArgumentException, FilterException
iterator
in interface LogSource
IllegalArgumentException
FilterException
public LogIterator iterator() throws IllegalArgumentException
public static void main(String[] args) throws IOException
IOException
public int getServerId()
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.