|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.extractor.oracle.OracleCDCReaderExtractor
public class OracleCDCReaderExtractor
| Constructor Summary | |
|---|---|
OracleCDCReaderExtractor()
|
|
| 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 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 |
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 |
setMaxRowsByBlock(int maxRowsByBlock)
Sets the maxRowsByBlock value. |
void |
setMaxSleepTime(int maxSleepTime)
Sets the maximum sleep time : maximum time the extracting thread will sleep between two calls. |
void |
setPassword(java.lang.String password)
|
void |
setQueueSize(int queueSize)
Sets the queueSize value. |
void |
setReconnectTimeout(long reconnectTimeout)
Sets the reconnectTimeout value. |
void |
setServiceName(java.lang.String serviceName)
|
void |
setTransactionFragSize(int transactionFragSize)
Sets the transactionFragSize value. |
void |
setUrl(java.lang.String url)
|
void |
setUser(java.lang.String user)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleCDCReaderExtractor()
| Method Detail |
|---|
public void setUrl(java.lang.String url)
public void setUser(java.lang.String user)
public void setPassword(java.lang.String password)
public void setMaxSleepTime(int maxSleepTime)
maxSleepTime - maximum sleep time in secondspublic void setTransactionFragSize(int transactionFragSize)
transactionFragSize - The transactionFragSize to set.public void setQueueSize(int queueSize)
queueSize - The queueSize to set.public void setMaxRowsByBlock(int maxRowsByBlock)
maxRowsByBlock - The maxRowsByBlock to set.public void setReconnectTimeout(long reconnectTimeout)
reconnectTimeout - The time in seconds after which the connection
has to be renewed.public void setServiceName(java.lang.String serviceName)
serviceName - the serviceName to set
public void configure(PluginContext context)
throws ReplicatorException,
java.lang.InterruptedException
configure in interface ReplicatorPluginReplicatorException - Thrown if configuration is incomplete or
fails
java.lang.InterruptedExceptionReplicatorPlugin.configure(com.continuent.tungsten.replicator.plugin.PluginContext)
public void prepare(PluginContext context)
throws ReplicatorException,
java.lang.InterruptedException
prepare in interface ReplicatorPluginReplicatorException - Thrown if resource allocation fails
java.lang.InterruptedExceptionReplicatorPlugin.prepare(com.continuent.tungsten.replicator.plugin.PluginContext)
public void release(PluginContext context)
throws ReplicatorException,
java.lang.InterruptedException
release in interface ReplicatorPluginReplicatorException - Thrown if resource deallocation fails
java.lang.InterruptedExceptionReplicatorPlugin.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 DBMSEvent extract()
throws ReplicatorException,
java.lang.InterruptedException
extract in interface RawExtractorReplicatorException
java.lang.InterruptedExceptionRawExtractor.extract()
public DBMSEvent extract(java.lang.String eventId)
throws ReplicatorException,
java.lang.InterruptedException
extract in interface RawExtractoreventId - Event ID at which to begin extracting
ReplicatorException - Thrown if extractor processing fails
java.lang.InterruptedException - Thrown if the applier is interruptedRawExtractor.extract(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 | |||||||||