|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.event.ReplEvent
com.continuent.tungsten.replicator.event.ReplControlEvent
public class ReplControlEvent
An implementation of ReplEvent used to transmit control information within pipelines. Control events add extra information that affects the disposition of processing following a particular event. They are not serialized and should never be handled by an applier.
| Field Summary | |
|---|---|
static int |
STOP
Event indicates end of processing. |
static int |
SYNC
Event is provided for synchronization purposes when waiting for a particular sequence number or event. |
| Constructor Summary | |
|---|---|
ReplControlEvent(int eventType,
long seqno,
ReplDBMSHeader header)
Creates a new control event instance. |
|
| Method Summary | |
|---|---|
int |
getEventType()
Returns the control event type. |
ReplDBMSHeader |
getHeader()
Returns the event to which control information applies or null if inapplicable. |
long |
getSeqno()
Returns the sequence number of this event. |
| Methods inherited from class com.continuent.tungsten.replicator.event.ReplEvent |
|---|
getEstimatedSize, setEstimatedSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STOP
public static final int SYNC
| Constructor Detail |
|---|
public ReplControlEvent(int eventType,
long seqno,
ReplDBMSHeader header)
eventType - A static control event type| Method Detail |
|---|
public int getEventType()
public ReplDBMSHeader getHeader()
public long getSeqno()
getSeqno in class ReplEventReplEvent.getSeqno()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||