|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Extractor
Denotes an extractor that extracts DBMSReplEvents with full metadata.
| Method Summary | |
|---|---|
ReplEvent |
extract()
Extract the next available event from the log. |
java.lang.String |
getCurrentResourceEventId()
Returns the last event ID committed in a database from which we are extracting. |
boolean |
hasMoreEvents()
Returns true if there are additional events that may be read as part of block commit processing. |
void |
setLastEvent(ReplDBMSHeader header)
Set the value of the last event called. |
void |
setLastEventId(java.lang.String eventId)
Provides a new native event ID that overrides the default value that the extractor would otherwise use. |
| Methods inherited from interface com.continuent.tungsten.replicator.plugin.ReplicatorPlugin |
|---|
configure, prepare, release |
| Method Detail |
|---|
void setLastEvent(ReplDBMSHeader header)
throws ReplicatorException
header - Last event we extracted
ReplicatorException
void setLastEventId(java.lang.String eventId)
throws ReplicatorException
eventId - Event ID at which to begin extracting
ReplicatorException
ReplEvent extract()
throws ReplicatorException,
java.lang.InterruptedException
ReplicatorException
java.lang.InterruptedExceptionboolean hasMoreEvents()
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 | |||||||||