|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.util.TimeFilter
public final class TimeFilter
Filters out event in a time range. Typically events can be filtered out more efficiently if a view is created with the time range the vents should be picked from.
IView
Constructor Summary | |
---|---|
TimeFilter(ITimeRange range)
|
|
TimeFilter(long startTime,
long endTime)
|
Method Summary | |
---|---|
boolean |
accept(IEvent event)
Returns true if the event is accepted by the filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeFilter(long startTime, long endTime)
public TimeFilter(ITimeRange range)
Method Detail |
---|
public boolean accept(IEvent event)
IEventFilter
accept
in interface IEventFilter
event
- the event to accept or reject.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |