|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.broker.replay.api.ReplaySignature
ReplaySignature is provided when a ReplayMessageConsumer is created to demarcate the signature of the replay flow, in terms of message sequence numbers and timestamps (it also offers control of timing and cadence).
Constructor Summary | |
---|---|
ReplaySignature()
|
Method Summary | |
---|---|
long |
getEnd()
Gets the ending point of the replay request. |
long |
getSamplingInterval()
Gets the sampling interval of the replay request. |
long |
getStart()
Gets the starting point of the replay request. |
long |
getThrottlingInterMessageTime()
Gets the inter-message throttling time of this replay request. |
boolean |
isEndNever()
Queries whether the ending point of the replay request is "NEVER". |
boolean |
isEndSequenceNumber()
Queries whether the ending point of the replay request is a sequence number. |
boolean |
isEndTimestamp()
Queries whether the ending point of the replay request is a timestamp. |
boolean |
isSampled()
Queries whether the replay request is sampled. |
boolean |
isSampledByNumberOfMessages()
Queries whether the sampling is done by number of messages. |
boolean |
isSampledByTime()
Queries whether the sampling is done by time. |
boolean |
isSampledOnAggregatedTopics()
Queries whether the sampling is done on all topics requested in this replay. |
boolean |
isSampledOnTopic()
Queries whether the sampling is done on a per-topic basis. |
boolean |
isStartNow()
Queries whether the starting point of the replay request is "NOW". |
boolean |
isStartSequenceNumber()
Queries whether the starting point of the replay request is a sequence number. |
boolean |
isStartTimestamp()
Queries whether the starting point of the replay request is a timestamp. |
boolean |
isTimingAsap()
Queries whether the timing of the replay request is ASAP. |
boolean |
isTimingOriginal()
Queries whether the timing of the replay request is original (the same cadence as the messages were originally published in). |
boolean |
isTimingThrottled()
Queries whether the timing of the replay request is throttled. |
void |
setEndAsSequenceNumber(long l)
Sets the ending point of the replay request to be an explicit sequence number. |
void |
setEndAsTimestamp(long l)
Sets the ending point of the replay request to be an explicit timestamp. |
void |
setEndToNever()
Sets the ending point of the replay request to "NEVER". |
void |
setSamplingOnAggregatedTopics()
Sets the sampling of the replay request to be on all topics requested in this replay. |
void |
setSamplingOnTopic()
Sets the sampling of the replay request to be on a per-topic basis. |
void |
setSamplingToByNumberOfMessages(long l)
Sets the sampling of the replay request to be done by number of messages. |
void |
setSamplingToByTime(long l)
Sets the sampling of the replay request to be done by time. |
void |
setStartAsSequenceNumber(long l)
Sets the starting point of the replay request to be an explicit sequence number. |
void |
setStartAsTimestamp(long l)
Sets the starting point of the replay request to be an explicit timestamp. |
void |
setStartToNow()
Sets the starting point of the replay request to "NOW". |
void |
setTimingToAsap()
Sets the timing of the replay request to be ASAP. |
void |
setTimingToOriginal()
Sets the timing of the replay request to be original (the same cadence as the messages were originally published in). |
void |
setTimingToThrottled(long l)
Sets the timing of the replay request to be throttled with a certain amount of time between each message delivery. |
java.lang.String |
toString()
Generates a String representing this replay request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReplaySignature()
Method Detail |
public long getStart()
public void setStartToNow()
public void setStartAsTimestamp(long l)
l
- a long containing a millisecond value (measured from the epoch).public void setStartAsSequenceNumber(long l)
l
- a long containing a sequence number.public boolean isStartNow()
public boolean isStartTimestamp()
public boolean isStartSequenceNumber()
public long getEnd()
public void setEndToNever()
public void setEndAsTimestamp(long l)
l
- a long containing a millisecond value (measured from the epoch).public void setEndAsSequenceNumber(long l)
l
- a long containing a sequence number.public boolean isEndNever()
public boolean isEndTimestamp()
public boolean isEndSequenceNumber()
public void setTimingToAsap()
public void setTimingToOriginal()
public boolean isTimingAsap()
public boolean isTimingOriginal()
public long getThrottlingInterMessageTime()
public void setTimingToThrottled(long l)
l
- a long containing the inter-message time.public boolean isTimingThrottled()
public long getSamplingInterval()
public void setSamplingOnTopic()
public void setSamplingOnAggregatedTopics()
public void setSamplingToByTime(long l)
l
- a long containing the sampling interval.public void setSamplingToByNumberOfMessages(long l)
l
- a long containing the sampling interval.public boolean isSampled()
public boolean isSampledOnTopic()
public boolean isSampledOnAggregatedTopics()
public boolean isSampledByTime()
public boolean isSampledByNumberOfMessages()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |