com.continuent.tungsten.replicator.event
Class DBMSEmptyEvent

java.lang.Object
  extended by com.continuent.tungsten.replicator.event.DBMSEvent
      extended by com.continuent.tungsten.replicator.event.DBMSEmptyEvent
All Implemented Interfaces:
java.io.Serializable

public class DBMSEmptyEvent
extends DBMSEvent

This class defines a DBMSEmptyEvent

Version:
1.0
Author:
Stephane Giron
See Also:
Serialized Form

Constructor Summary
DBMSEmptyEvent(java.lang.String id)
          Creates a new empty event with the current time as timestamp.
DBMSEmptyEvent(java.lang.String id, java.sql.Timestamp extractTime)
          Creates a new empty event.
 
Method Summary
 
Methods inherited from class com.continuent.tungsten.replicator.event.DBMSEvent
addMetadataOption, addOption, getData, getEventId, getMetadata, getMetadataOption, getMetadataOptionValue, getOptions, getSourceTstamp, isLastFrag, setMetaDataOption, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBMSEmptyEvent

public DBMSEmptyEvent(java.lang.String id,
                      java.sql.Timestamp extractTime)
Creates a new empty event.

Parameters:
id - Event Id
extractTime - Time of commit or failing that extraction

DBMSEmptyEvent

public DBMSEmptyEvent(java.lang.String id)
Creates a new empty event with the current time as timestamp. WARNING: do not put this type of event into the log as it can mess up parallel replication.

Parameters:
id - Event Id