|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.event.ReplDBMSHeaderData
public class ReplDBMSHeaderData
An implementation of replicator header information used to track position.
| Constructor Summary | |
|---|---|
ReplDBMSHeaderData(long seqno,
short fragno,
boolean lastFrag,
java.lang.String sourceId,
long epochNumber,
java.lang.String eventId,
java.lang.String shardId,
java.sql.Timestamp extractedTstamp,
long latency)
Create header instance from component parts. |
|
ReplDBMSHeaderData(ReplDBMSHeader event)
|
|
| Method Summary | |
|---|---|
long |
getAppliedLatency()
|
long |
getEpochNumber()
Returns the epoch number, a number that identifies a continuous sequence of events from the time a master goes online until it goes offline. |
java.lang.String |
getEventId()
Returns the native event ID corresponding to this log sequence number. |
java.sql.Timestamp |
getExtractedTstamp()
Returns the extractedTstamp value. |
short |
getFragno()
Returns the event fragment number, a monotonically increasing whole number starting at 0. |
boolean |
getLastFrag()
Returns true if this fragment is the last one. |
long |
getSeqno()
Returns the log sequence number, a monotonically increasing whole number starting at 0 that denotes a single transaction. |
java.lang.String |
getShardId()
Returns the shard ID for this transaction. |
java.lang.String |
getSourceId()
Returns the ID of the data source from which this event was originally extracted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplDBMSHeaderData(long seqno,
short fragno,
boolean lastFrag,
java.lang.String sourceId,
long epochNumber,
java.lang.String eventId,
java.lang.String shardId,
java.sql.Timestamp extractedTstamp,
long latency)
public ReplDBMSHeaderData(ReplDBMSHeader event)
| Method Detail |
|---|
public long getSeqno()
ReplDBMSHeader
getSeqno in interface ReplDBMSHeaderpublic java.lang.String getEventId()
ReplDBMSHeader
getEventId in interface ReplDBMSHeaderpublic long getEpochNumber()
ReplDBMSHeader
getEpochNumber in interface ReplDBMSHeaderpublic short getFragno()
ReplDBMSHeader
getFragno in interface ReplDBMSHeaderpublic boolean getLastFrag()
ReplDBMSHeader
getLastFrag in interface ReplDBMSHeaderpublic java.lang.String getSourceId()
ReplDBMSHeader
getSourceId in interface ReplDBMSHeaderpublic java.lang.String getShardId()
ReplDBMSHeader
getShardId in interface ReplDBMSHeaderpublic java.sql.Timestamp getExtractedTstamp()
ReplDBMSHeader
getExtractedTstamp in interface ReplDBMSHeaderpublic long getAppliedLatency()
getAppliedLatency in interface ReplDBMSHeader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||