Class TestDelay
java.lang.Object
com.sportradar.livedata.sdk.feed.common.TestDelay
- Direct Known Subclasses:
TestDelayWithSpeed
Represents a delay specification for the test server.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TestDelayfromDelay(org.joda.time.Duration skip) Constructs test delay instancestatic TestDelayfromMsgNr(int msgNr) Constructs test delay instancestatic TestDelayfromMsgNrAndSkip(int msgNr, org.joda.time.Duration skip) Constructs test delay instanceorg.joda.time.DurationgetDelay()Gets test skipgetMsgNr()Gets msngr to start with
-
Field Details
-
msgNr
-
delay
protected final org.joda.time.Duration delay
-
-
Constructor Details
-
TestDelay
-
-
Method Details
-
fromDelay
Constructs test delay instance- Parameters:
skip- interval to skip- Returns:
- test delay instance
-
fromMsgNr
Constructs test delay instance- Parameters:
msgNr- msg nr- Returns:
- test delay instance
-
fromMsgNrAndSkip
Constructs test delay instance- Parameters:
msgNr- msg nrskip- interval to skip- Returns:
- test delay instance
-
getDelay
public org.joda.time.Duration getDelay()Gets test skip- Returns:
- test skip
-
getMsgNr
Gets msngr to start with- Returns:
- starting msgnr
-