Class RacCommitLogWriterFlushStrategy.RacNode
java.lang.Object
io.debezium.connector.oracle.logminer.logwriter.RacCommitLogWriterFlushStrategy.RacNode
- Enclosing class:
RacCommitLogWriterFlushStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OracleConnectionprivate LogWriterFlushStrategyprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the connection with the RAC node.voidconnect()Connects to the RAC nodeGet the strategy used by the node to flushGet the hostname for the RAC node.booleanReturn whether the RAC node is current connected or not.private String[]parseHostName(String hostName) (package private) voidReconnect to the RAC node
-
Field Details
-
hostName
-
connection
-
flushStrategy
-
-
Constructor Details
-
RacNode
RacNode(String hostName)
-
-
Method Details
-
getHostName
Get the hostname for the RAC node.- Returns:
- the hostname
-
getFlushStrategy
Get the strategy used by the node to flush- Returns:
- the flush strategy
-
isConnected
public boolean isConnected()Return whether the RAC node is current connected or not. -
connect
Connects to the RAC node- Throws:
SQLException- if a connection failure occurred
-
reconnect
void reconnect()Reconnect to the RAC node -
close
public void close()Closes the connection with the RAC node. -
parseHostName
-