public interface OracleHelper
Modifier and Type | Method and Description |
---|---|
void |
clearReplayStatistics(ConnectionEnv rce)
Clears the replay statistics for a replayable connection
|
java.util.Properties |
getConnectionInfo(ConnectionEnv ce)
Returns the connection info properties from the Oracle connection
|
java.lang.String |
getInstanceName(ConnectionEnv ce)
Returns the database instance name for the connection.
|
java.lang.Object |
getLogicalTransactionId(java.lang.Object connection)
Returns the current LogicalTransactionId for the connection.
|
java.lang.String |
getPDBName(ConnectionEnv ce)
Returns the current container name for the connection.
|
ConnectionEnv |
getProxyObject(java.lang.Object physical)
Invokes oracle.jdbc.replay.internal.ReplayableConnection.getProxyObject
on the specified connection.
|
ReplayStatisticsSnapshot |
getReplayStatistics(ConnectionEnv rce)
Returns the replay statistics for a replayable connection
|
java.lang.String |
getServiceName(ConnectionEnv ce)
Returns the current service name for the connection.
|
boolean |
isReplayDriver()
Indicates whether the driver class name specified in the configuration supports replay
|
void |
registerConnectionInitializationCallback(ConnectionEnv rce)
Invokes oracle.jdbc.replay.OracleDataSource.setInitializationCallback
on the specified connection.
|
void |
replayBeginRequest(ConnectionEnv replayableConnection,
int replayInitiationTimeout)
Invokes ReplayableConnection.beginRequest on the specified connection.
|
void |
replayEndRequest(ConnectionEnv replayableConnection)
Invokes ReplayableConnection.endRequest on the specified connection
|
void |
setProxyObject(java.lang.Object physical,
ConnectionEnv rce)
Invokes oracle.jdbc.replay.internal.ReplayableConnection.setProxyObject
on the specified connection.
|
boolean isReplayDriver()
void replayBeginRequest(ConnectionEnv replayableConnection, int replayInitiationTimeout) throws java.sql.SQLException
replayableConnection
- A replayable connectionjava.sql.SQLException
- An error occurredvoid replayEndRequest(ConnectionEnv replayableConnection) throws java.sql.SQLException
replayableConnection
- A replayable connectionjava.sql.SQLException
- An error occurredjava.util.Properties getConnectionInfo(ConnectionEnv ce)
ce
- The connectionReplayStatisticsSnapshot getReplayStatistics(ConnectionEnv rce)
ce
- The connectionvoid clearReplayStatistics(ConnectionEnv rce)
ce
- The connectionvoid registerConnectionInitializationCallback(ConnectionEnv rce) throws java.sql.SQLException
replayableConnection
- A replayable connectionjava.sql.SQLException
- An error occurredvoid setProxyObject(java.lang.Object physical, ConnectionEnv rce)
physical
- A physical connectionreplayableConnection
- A replayable connectionConnectionEnv getProxyObject(java.lang.Object physical)
physical
- A physical connectionjava.lang.String getInstanceName(ConnectionEnv ce)
ce
- The connection pooled resource containing the physical connectionjava.lang.String getPDBName(ConnectionEnv ce)
ce
- The connection pooled resource containing the physical connectionjava.lang.String getServiceName(ConnectionEnv ce)
ce
- The connection pooled resource containing the physical connectionjava.lang.Object getLogicalTransactionId(java.lang.Object connection) throws java.sql.SQLException
connection
- The (Oracle) connectionjava.sql.SQLException