|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.extractor.DummyExtractor
public class DummyExtractor
This class defines a DummyExtractor
| Constructor Summary | |
|---|---|
DummyExtractor()
|
|
| Method Summary | |
|---|---|
void |
configure(PluginContext context)
Complete plug-in configuration. |
DBMSEvent |
extract()
Extract the next available DBMSEvent from the database log. |
DBMSEvent |
extract(java.lang.String trxId)
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. |
int |
getNFrags()
Number of fragments per transaction. |
java.lang.Integer |
getNTrx()
Get number of DBMSEvents that will be generated by dummy extractor. |
void |
prepare(PluginContext context)
Prepare plug-in for use. |
void |
release(PluginContext context)
Release all resources used by plug-in. |
void |
setLastEventId(java.lang.String eventId)
Set the value of the last event ID we have processed. |
void |
setNFrags(int frags)
|
void |
setNTrx(java.lang.Integer i)
Set number of DBMSEvents that will be generated by dummy extractor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyExtractor()
| Method Detail |
|---|
public void setNTrx(java.lang.Integer i)
i - public java.lang.Integer getNTrx()
public int getNFrags()
public void setNFrags(int frags)
public DBMSEvent extract()
throws java.lang.InterruptedException
extract in interface RawExtractorjava.lang.InterruptedExceptionRawExtractor.extract()public DBMSEvent extract(java.lang.String trxId)
extract in interface RawExtractortrxId - Event ID at which to begin extracting
RawExtractor.extract(java.lang.String)public void configure(PluginContext context)
configure in interface ReplicatorPluginReplicatorPlugin.configure(com.continuent.tungsten.replicator.plugin.PluginContext)public void prepare(PluginContext context)
prepare in interface ReplicatorPluginReplicatorPlugin.prepare(com.continuent.tungsten.replicator.plugin.PluginContext)public void release(PluginContext context)
release in interface ReplicatorPluginReplicatorPlugin.release(com.continuent.tungsten.replicator.plugin.PluginContext)
public void setLastEventId(java.lang.String eventId)
throws ReplicatorException
setLastEventId in interface RawExtractoreventId - Event ID at which to begin extracting
ReplicatorExceptionRawExtractor.setLastEventId(java.lang.String)
public java.lang.String getCurrentResourceEventId()
throws ReplicatorException,
java.lang.InterruptedException
getCurrentResourceEventId in interface RawExtractorReplicatorException
java.lang.InterruptedExceptionRawExtractor.getCurrentResourceEventId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||