|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.extractor.oracle.OracleCommunicator
public class OracleCommunicator
This class defines a OracleCommunicator. This is the interface to the Oracle redo log extractor.
| Constructor Summary | |
|---|---|
OracleCommunicator(java.lang.String hostName,
java.lang.String instanceName,
int portNumber)
Creates a new OracleCommunicator object |
|
| Method Summary | |
|---|---|
void |
connect(java.lang.String userName,
java.lang.String password,
java.lang.String scn,
boolean rowLevel,
java.lang.String seq)
Connect to the c based dslisten process |
void |
disconnect()
Disconnect from dslisten |
java.lang.String |
getSQL()
Send a getSQL message to dslisten and wait for the result |
void |
getStatus()
Send a getStatus message to dslisten |
void |
setParameter(java.lang.String parameter,
java.lang.String value)
Send a set parameter message to dslisten |
void |
stop()
Send stop message to dslisten. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleCommunicator(java.lang.String hostName,
java.lang.String instanceName,
int portNumber)
OracleCommunicator object
hostName - Name of the host to log intoinstanceName - Value of the ORACLE_SID of the instance to connect toportNumber - Port number of the dslisten process typically 51060| Method Detail |
|---|
public void connect(java.lang.String userName,
java.lang.String password,
java.lang.String scn,
boolean rowLevel,
java.lang.String seq)
throws ExtractorException
userName - Oracle username dslisten uses to connect to Oraclepassword - Oracle password dslisten uses to connect to Oraclescn - Starting system commit number to extract fromrowLevel - TRUE IFF performing row level extraction else performing statement level extraction
ExtractorException
public void disconnect()
throws ExtractorException
ExtractorException
public void stop()
throws ExtractorException
ExtractorException
public void setParameter(java.lang.String parameter,
java.lang.String value)
throws ExtractorException
parameter - Name of the parameter to setvalue - Value of the parameter
ExtractorException
public void getStatus()
throws ExtractorException
ExtractorException
public java.lang.String getSQL()
throws java.lang.InterruptedException,
ExtractorException
ExtractorException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||