Package deltix.qsrv.hf.tickdb.pub.query
Interface TimeController
-
- All Known Subinterfaces:
InstrumentMessageSource
,SubscriptionController
,TickCursor
- All Known Implementing Classes:
InstrumentMessageSourceAdapter
,LimitedInstrumentMessageSource
,SubscriptionManagerWrapper
,TickCursorAdapter
,TickCursorClientAeron
public interface TimeController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reset(long time)
Reposition the message source to a new point in time, while preserving current subscription.void
setTimeForNewSubscriptions(long time)
This method affects subsequent "add subscription" methods, such as, for instance, addEntity ().
-
-
-
Method Detail
-
setTimeForNewSubscriptions
void setTimeForNewSubscriptions(long time)
This method affects subsequent "add subscription" methods, such as, for instance, addEntity (). New subscriptions start at the specified time.- Parameters:
time
- The time to use, orTimeConstants.USE_CURRENT_TIME
to use server's system time, orTimeConstants.USE_CURSOR_TIME
to use cursor's last read time.
-
reset
void reset(long time)
Reposition the message source to a new point in time, while preserving current subscription.- Parameters:
time
- The new position in time.
-
-