|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RawExtractor
Denotes an extractor that is responsible for extracting raw events from a database or other replication source. Extractors must be prepared to be interrupted, which mechanism is used to cancel processing.
| Method Summary | |
|---|---|
DBMSEvent |
extract()
Extract the next available DBMSEvent from the database log. |
DBMSEvent |
extract(java.lang.String eventId)
Extract starting after the event ID provided as an argument. |
java.lang.String |
getCurrentResourceEventId()
Returns the last event ID committed in the database from which we are extracting. |
void |
setLastEventId(java.lang.String eventId)
Set the value of the last event ID we have processed. |
| Methods inherited from interface com.continuent.tungsten.replicator.plugin.ReplicatorPlugin |
|---|
configure, prepare, release |
| Method Detail |
|---|
void setLastEventId(java.lang.String eventId)
throws ReplicatorException
eventId - Event ID at which to begin extracting
ReplicatorException
DBMSEvent extract()
throws ReplicatorException,
java.lang.InterruptedException
ReplicatorException
java.lang.InterruptedException
DBMSEvent extract(java.lang.String eventId)
throws ReplicatorException,
java.lang.InterruptedException
eventId - Event ID at which to begin extracting
ReplicatorException - Thrown if extractor processing fails
java.lang.InterruptedException - Thrown if the applier is interrupted
java.lang.String getCurrentResourceEventId()
throws ReplicatorException,
java.lang.InterruptedException
ReplicatorException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||