public class MongoDBTraceStream extends TraceHandlerCollection implements TraceStream
| Constructor and Description | 
|---|
| MongoDBTraceStream(MongoDBTraceProperties properties) | 
| Modifier and Type | Method and Description | 
|---|---|
| com.tomtom.speedtools.tracer.mongo.MongoDBTraceFetcher | getFetcher()Return the trace fetcher, in case you wish to walk through events in your own code. | 
| org.joda.time.DateTime | moveTo(org.joda.time.DateTime time)Rewinds the stream to given moment in time. | 
| org.joda.time.DateTime | moveToEnd()Fast-forwards to the end of the stream. | 
| org.joda.time.DateTime | moveToStart()Fast-rewinds to the start of the stream. | 
| void | playbackTo(org.joda.time.DateTime until)Process remaining events up until given time. | 
| void | playbackToEnd()Process all remaining events. | 
addTraceHandler, handleTrace, handleTraces, removeAllTraceHandlers, removeTraceHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTraceHandler, removeTraceHandler@Inject public MongoDBTraceStream(@Nonnull MongoDBTraceProperties properties) throws UnknownHostException
UnknownHostException@Nullable public org.joda.time.DateTime moveTo(@Nonnull org.joda.time.DateTime time)
TraceStreammoveTo in interface TraceStreamtime - Time to move to.@Nullable public org.joda.time.DateTime moveToStart()
TraceStreammoveToStart in interface TraceStream@Nullable public org.joda.time.DateTime moveToEnd()
TraceStreammoveToEnd in interface TraceStreampublic void playbackTo(@Nonnull org.joda.time.DateTime until)
TraceStreamplaybackTo in interface TraceStreamuntil - Time until when to process events, exclusive.public void playbackToEnd()
TraceStreamplaybackToEnd in interface TraceStream@Nonnull public com.tomtom.speedtools.tracer.mongo.MongoDBTraceFetcher getFetcher()
Copyright © 2018 TomTom International BV. All rights reserved.