Package deltix.qsrv.hf.tickdb
Class TimebaseTestUtils.CycleMarketMessageSource
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.TimebaseTestUtils.CycleMarketMessageSource
-
- All Implemented Interfaces:
deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage>
,deltix.util.concurrent.AbstractCursor
,deltix.util.lang.Disposable
,java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- TimebaseTestUtils
public static class TimebaseTestUtils.CycleMarketMessageSource extends java.lang.Object implements deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage>
-
-
Constructor Summary
Constructors Constructor Description CycleMarketMessageSource(int maxCycleCount, long start, long interval, deltix.timebase.api.MarketMessageType[] types, deltix.qsrv.hf.pub.InstrumentType[] entityTypes, java.lang.String[] symbols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
deltix.qsrv.hf.pub.InstrumentMessage
getMessage()
boolean
isAtEnd()
boolean
next()
void
reset()
-
-
-
Method Detail
-
reset
public void reset()
-
getMessage
public deltix.qsrv.hf.pub.InstrumentMessage getMessage()
- Specified by:
getMessage
in interfacedeltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage>
-
next
public boolean next()
- Specified by:
next
in interfacedeltix.util.concurrent.AbstractCursor
-
isAtEnd
public boolean isAtEnd()
- Specified by:
isAtEnd
in interfacedeltix.util.concurrent.AbstractCursor
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacedeltix.util.lang.Disposable
-
-