public abstract class NetConnection extends Connection
| Modifier and Type | Class and Description |
|---|---|
static class |
NetConnection.ConnectionCreator |
static class |
NetConnection.DSConnectionInfo
Simple structure to encapsulate the network-servers in a distributed
system, and statements to be used against locators/servers to obtain
load-balanced connections etc.
|
Connection.FailoverStatus| Modifier and Type | Field and Description |
|---|---|
static Pattern |
addrPat_
The pattern to extract addresses from the result of
GET_ALLSERVERS_AND_PREFSERVER procedure; format is:
host1/addr1[port1]{kind1},host2/addr2[port2]{kind2},...
|
static String |
BUCKET_AND_SERVER_PROC_QUERY |
protected byte[] |
cnntkn_ |
protected String |
connServer |
protected String |
connUrl
The original host:port given for this connection.
|
protected String |
connUrl2
|
byte[] |
crrtkn_ |
protected int |
currXACallInfoOffset_ |
static String[] |
failoverSQLStateArray
array of SQLState strings that denote failover should be done
|
CallableStatement |
getBucketToServerDetails_
For single hop this statement would be used to re-fetch the bucket
locations on the server.
|
boolean |
gotException_ |
protected Hashtable |
indoubtTransactions_ |
static int |
MAX_SERVER_LIMIT
The maximum number of servers that are retained before the non-responsive
ones are purged.
|
protected static com.pivotal.gemfirexd.internal.shared.common.i18n.MessageUtil |
msgutil |
protected NetAgent |
netAgent_ |
protected int |
pendingEndXACallinfoOffset_ |
protected static com.pivotal.gemfirexd.internal.shared.common.sanity.SanityManager.PrintWriterFactory |
pwFactory |
static Random |
rand |
protected boolean |
readOnlyTransaction_ |
protected int |
securityMechanism_ |
protected boolean |
statementFailover_
Indicates if this is connection is created during a failover retry so as
to enable setting the posDup flag on server for current statement.
|
protected int |
targetAgent_ |
protected int |
targetCmnappc_ |
protected int |
targetCmntcpip_ |
protected int |
targetRdb_ |
protected int |
targetRsyncmgr_ |
int |
targetSecmgr_ |
String |
targetSrvclsnm_ |
protected String |
targetSrvnam_ |
String |
targetSrvrlslv_ |
protected int |
targetSyncptmgr_ |
protected int |
targetXamgr_ |
protected NetXAResource |
xares_ |
agent_, alternateNetServers_, autoCommit_, clientSSLMode_, commBufferSize_, currentSchemaName_, currTXID, databaseMetaData_, databaseName_, dataSource_, DEFAULT_LOGIN_TIMEOUT, DEFAULT_SINGLE_HOP_MAX_CONN_PER_SERVER, defaultIsolation_, disableCancel_, disableStreaming_, disableTXBatching_, dncGeneratedSavepointId_, dncGeneratedSavepointNamePrefix__, doSetSchema_, encryptionManager_, executionSequence, INFINITE_LOGIN_TIMEOUT, inUnitOfWork_, isolation_, isXAConnection_, jdbcReadOnly_, keepAliveCnt_, keepAliveIdle_, keepAliveIntvl_, loadBalance_, lobProcs, loginTimeout_, ncjBatchSize_, ncjCacheSize_, portNumber_, prevSuccessfulSeq, productID_, queryHDFS_, resetConnectionAtFirstSql_, retrieveMessageText_, serverModifyLevel_, serverNameIP_, serverReleaseLevel_, serverVersion, serverVersionLevel_, SINGLE_HOP_MAX_CONN_PER_SERVER, singleHopAttempted, singleHopEnabled_, skipConstraints_, skipListeners_, skipLocks_, successfulExecutionSequence, syncCommits_, TRANSACTION_UNKNOWN, useBoundedQueuePool_, user_, XA_T0_NOT_ASSOCIATED, XA_T1_ASSOCIATED, xaHostVersion_TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
NetConnection(NetLogWriter netLogWriter,
ClientBaseDataSource dataSource,
String user,
String password) |
NetConnection(NetLogWriter netLogWriter,
int driverManagerLoginTimeout,
String serverName,
int portNumber,
String databaseName,
Properties properties) |
NetConnection(NetLogWriter netLogWriter,
String ipaddr,
int portNumber,
ClientBaseDataSource dataSource,
boolean isXAConn) |
NetConnection(NetLogWriter netLogWriter,
String databaseName,
Properties properties) |
NetConnection(NetLogWriter netLogWriter,
String user,
String password,
ClientBaseDataSource dataSource,
int rmId,
boolean isXAConn) |
NetConnection(NetLogWriter netLogWriter,
String user,
String password,
ClientBaseDataSource dataSource,
int rmId,
boolean isXAConn,
ClientPooledConnection cpc)
This constructor is called from the ClientPooledConnection object
to enable the NetConnection to pass
this on to the associated
prepared statement object thus enabling the prepared statement object
to inturn raise the statement events to the ClientPooledConnection object |
| Modifier and Type | Method and Description |
|---|---|
void |
addSpecialRegisters(String s) |
protected boolean |
allowCloseInUOW_()
Check if the connection can be closed when there are uncommitted
operations.
|
protected boolean |
allowLocalCommitRollback_() |
protected int |
checkAlternateServerHasEqualOrHigherProductLevel(ProductLevel orgLvl,
int orgServerType) |
void |
close()
closes underlying connection and associated resource.
|
void |
closeForReuse()
Invalidates connection but keeps socket open.
|
void |
closeResources()
closes resources connection will be not available
for reuse.
|
void |
closeX()
closes underlying connection and associated resource.
|
void |
completeConnect() |
protected void |
completeReset(boolean isDeferredReset) |
protected void |
constructCrrtkn() |
NetAgent |
createNewAgentOrReset(LogWriter logWriter,
int loginTimeout,
String thisUrl,
String serverName,
int[] port,
int clientSSLMode,
Set failedUrls,
SqlException failoverEx,
Connection.FailoverStatus status) |
protected boolean |
doCloseStatementsOnClose_() |
Connection.FailoverStatus |
doFailoverOnException(String sqlState,
int errorCode,
Exception thrownEx) |
void |
doResetNow() |
protected void |
finalize() |
void |
flowConnect(String password,
int securityMechanism,
boolean doFailover) |
protected boolean |
flowReconnect(String password,
int securityMechanism) |
protected void |
flowSimpleConnect() |
int |
getAGENT() |
protected int |
getCachedIsolation() |
int |
getCMNTCPIP() |
protected byte[] |
getCnnToken() |
Properties |
getConnectionProperties() |
protected Properties |
getConnectionProperties(Properties incomingProps) |
NetConnection.DSConnectionInfo |
getDSConnectionInfo() |
EncryptionManager |
getEncryptionManager() |
static Connection.FailoverStatus |
getFailoverStatus(String sqlState,
int errorCode,
Exception thrownEx) |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
String |
getProductID() |
int |
getRDB() |
int |
getRSYNCMGR() |
int |
getSavePointToRollbackTo() |
int |
getSECMGR() |
int |
getSecurityMechanism() |
int |
getSendBufferSize() |
protected short |
getSequenceNumber() |
String |
getServerLocation() |
protected static String |
getServerUrl(String serverName,
int port) |
protected static String |
getServerUrl(String serverName,
String port) |
protected int |
getSocketAndInputOutputStreams(String server,
int port,
int clientSSLMode) |
int |
getSQLAM() |
int |
getSYNCPTMGR() |
byte[] |
getTargetPublicKey() |
int |
getTimeout() |
TxID |
getTxID() |
int |
getXAMGR() |
Set |
handleFailover(Set failedUrls,
SqlException sqle) |
protected Set |
handleFailover(Set failedUrls,
SqlException ex,
Connection.FailoverStatus status) |
boolean |
isConnectionNull() |
protected boolean |
isGlobalPending_() |
boolean |
isSnappyDRDAProtocol() |
protected void |
markClosed_() |
protected Agent |
newAgent_(LogWriter logWriter,
int loginTimeout,
String serverName,
int portNumber,
int clientSSLMode,
Properties incomingProps) |
protected CallableStatement |
newCallableStatement_(String sql,
int type,
int concurrency,
int holdability) |
protected DatabaseMetaData |
newDatabaseMetaData_() |
protected PreparedStatement |
newPositionedUpdatePreparedStatement_(String sql,
Section section) |
protected PreparedStatement |
newPreparedStatement_(String sql,
int type,
int concurrency,
int holdability,
int autoGeneratedKeys,
String[] columnNames,
int[] columnIndexes) |
SectionManager |
newSectionManager(String collection,
Agent agent,
String databaseName) |
protected Statement |
newStatement_(int type,
int concurrency,
int holdability) |
protected void |
preAgentInitialize(String password,
ClientBaseDataSource dataSource,
Properties properties) |
void |
readCommitSubstitute_() |
void |
readLocalCommit_() |
void |
readLocalRollback_() |
void |
readLocalXACommit_() |
void |
readLocalXARollback_() |
void |
readLocalXAStart_() |
void |
readTransactionStart() |
protected void |
readXACommit_()
Invokes readCommit on NetXAConnection
|
protected void |
readXARollback_()
Invokes writeRollback on NetXAConnection
|
protected void |
reset_(LogWriter logWriter) |
protected void |
resetCallableStatement_(CallableStatement cs,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
void |
resetNetConnection(LogWriter logWriter) |
protected void |
resetPreparedStatement_(PreparedStatement ps,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
int autoGeneratedKeys,
String[] columnNames,
int[] columnIndexes) |
protected void |
resetStatement_(Statement statement,
int type,
int concurrency,
int holdability) |
boolean |
serverSupportsLayerBStreaming() |
protected boolean |
serverSupportsLocators()
Checks whether the server supports locators for large objects.
|
boolean |
serverSupportsQryclsimp()
Check whether the server has full support for the QRYCLSIMP
parameter in OPNQRY.
|
protected boolean |
serverSupportsUDTs()
Check whether the server supports UDTs
|
void |
setBaseConnection(Connection conn) |
void |
setConnectionNull(boolean connectionNull) |
void |
setIndoubtTransactions(Hashtable indoubtTransactions) |
void |
setInputStream(InputStream inputStream) |
void |
setOutputStream(OutputStream outputStream) |
protected void |
setReadOnlyTransactionFlag(boolean flag) |
void |
setSendBufferSize(int size) |
void |
setServerURL(String serverURL) |
void |
setServerVersion(com.gemstone.gemfire.internal.shared.Version serverVersion) |
void |
setTimeout(int loginTimeout) |
void |
setTXID(long memberIdOfTxid,
long uniqIdOfTxId) |
protected boolean |
supportsSessionDataCaching()
Check whether the server supports session data caching
|
String |
toString() |
void |
updateRegionInfoForCommit(int prid,
int bid) |
boolean |
willAutoCommitGenerateFlow() |
void |
writeCommitSubstitute_() |
void |
writeLocalCommit_() |
void |
writeLocalRollback_() |
void |
writeLocalXACommit_() |
void |
writeLocalXARollback_() |
void |
writeLocalXAStart_() |
void |
writeTransactionStart(Statement statement) |
protected void |
writeXACommit_()
Invokes write commit on NetXAConnection
|
protected void |
writeXARollback_()
Invokes writeRollback on NetXAConnection
|
protected void |
writeXATransactionStart(Statement statement) |
accumulate440WarningForMessageProcFailure, accumulate444WarningForMessageProcFailure, accumulateWarning, cancelDisabled, checkForClosedConnection, clearWarnings, clearWarningsX, closeForReuse, commit, completeAbnormalUnitOfWork, completeAbnormalUnitOfWork, completeChainBreakingDisconnect, completeInitialPiggyBackIsolation, completeInitialPiggyBackSchema, completeLocalCommit, completeLocalRollback, completePiggyBackIsolation, completePiggyBackSchema, completeReset, completeReset, completeServerVersion, completeSpecificRollback, completeSqlca, createBlob, createClob, createStatement, createStatement, createStatement, flowAutoCommit, flowCommit, flowRollback, getAutoCommit, getCatalog, getCurrentSchemaName, getHoldability, getMetaData, getServerVersion, getTransactionID, getTransactionIsolation, getTransactionIsolationX, getTypeMap, getWarnings, getXAState, incrementAndGetExecutionSequence, init, initConnection, initialize, isClosed, isClosedX, isOpen, isPhysicalConnClosed, isReadOnly, isSingleHopEnabled, isXAConnection, lightReset, locatorProcedureCall, markClosed, markClosed, markOpen, nativeSQL, nativeSQLX, prepareCall, prepareCall, prepareCall, prepareMessageProc, preparePositionedUpdateStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, readCommit, readRollback, releaseSavepoint, reset, resetConnection, resetPrepareCall, resetPrepareStatement, resetStatement, rollback, rollback, setAutoCommit, setAutoCommitX, setCatalog, setHoldability, setInUnitOfWork, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTransactionIsolationX, setTypeMap, setXAState, transactionInProgress, writeCommit, writeRollbackclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitabort, createArrayOf, createNClob, createSQLXML, createStruct, getClientInfo, getClientInfo, getNetworkTimeout, getSchema, isValid, setClientInfo, setClientInfo, setNetworkTimeout, setSchemaisWrapperFor, unwrapprotected static com.pivotal.gemfirexd.internal.shared.common.i18n.MessageUtil msgutil
protected NetAgent netAgent_
protected int pendingEndXACallinfoOffset_
protected int targetAgent_
protected int targetCmntcpip_
protected int targetRdb_
public int targetSecmgr_
protected int targetCmnappc_
protected int targetXamgr_
protected int targetSyncptmgr_
protected int targetRsyncmgr_
public String targetSrvclsnm_
protected String targetSrvnam_
public String targetSrvrlslv_
public byte[] crrtkn_
protected int securityMechanism_
protected byte[] cnntkn_
protected NetXAResource xares_
protected Hashtable indoubtTransactions_
protected int currXACallInfoOffset_
protected boolean readOnlyTransaction_
public static final Random rand
public static final int MAX_SERVER_LIMIT
protected boolean statementFailover_
CodePoint.RDBALWUPD byte doubles as a flag to
indicate failover retry to the server.protected String connUrl
protected String connUrl2
protected String connServer
public CallableStatement getBucketToServerDetails_
public static final String BUCKET_AND_SERVER_PROC_QUERY
public static final String[] failoverSQLStateArray
protected static final com.pivotal.gemfirexd.internal.shared.common.sanity.SanityManager.PrintWriterFactory pwFactory
public static final Pattern addrPat_
public boolean gotException_
public NetConnection(NetLogWriter netLogWriter, String databaseName, Properties properties) throws SqlException
SqlExceptionpublic NetConnection(NetLogWriter netLogWriter, ClientBaseDataSource dataSource, String user, String password) throws SqlException
SqlExceptionpublic NetConnection(NetLogWriter netLogWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties) throws SqlException
SqlExceptionpublic NetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn) throws SqlException
SqlExceptionpublic NetConnection(NetLogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn) throws SqlException
SqlExceptionpublic NetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException
this on to the associated
prepared statement object thus enabling the prepared statement object
to inturn raise the statement events to the ClientPooledConnection objectnetLogWriter - NetLogWriter object associated with this connectionuser - user id for this connectionpassword - password for this connectiondataSource - The DataSource object passed from the PooledConnection
object from which this constructor was calledrmId - The Resource manager ID for XA ConnectionsisXAConn - true if this is a XA connectioncpc - The ClientPooledConnection object from which this
NetConnection constructor was called. This is used
to pass StatementEvents back to the pooledConnection
objectSqlExceptionprotected void preAgentInitialize(String password, ClientBaseDataSource dataSource, Properties properties) throws SqlException
preAgentInitialize in class ConnectionSqlExceptionpublic void resetNetConnection(LogWriter logWriter) throws SqlException
SqlExceptionprotected void reset_(LogWriter logWriter) throws SqlException
reset_ in class ConnectionSqlExceptionpublic void addSpecialRegisters(String s)
addSpecialRegisters in class Connectionpublic void completeConnect()
throws SqlException
completeConnect in class ConnectionSqlExceptionprotected void completeReset(boolean isDeferredReset)
throws SqlException
SqlExceptionpublic void flowConnect(String password, int securityMechanism, boolean doFailover) throws SqlException
SqlExceptionprotected void flowSimpleConnect()
throws SqlException
SqlExceptionprotected boolean flowReconnect(String password, int securityMechanism) throws SqlException
SqlExceptionprotected void finalize()
throws Throwable
finalize in class ConnectionThrowableprotected byte[] getCnnToken()
protected short getSequenceNumber()
protected Properties getConnectionProperties(Properties incomingProps)
public Properties getConnectionProperties()
getConnectionProperties in class Connectionprotected final Set handleFailover(Set failedUrls, SqlException ex, Connection.FailoverStatus status) throws SqlException
SqlExceptionpublic final Set handleFailover(Set failedUrls, SqlException sqle) throws SqlException
handleFailover in class ConnectionSqlExceptionpublic final Connection.FailoverStatus doFailoverOnException(String sqlState, int errorCode, Exception thrownEx)
doFailoverOnException in class Connectionpublic static Connection.FailoverStatus getFailoverStatus(String sqlState, int errorCode, Exception thrownEx)
public final String getServerLocation()
getServerLocation in class Connectionpublic final void setTimeout(int loginTimeout)
throws SQLException
SQLExceptionpublic final int getTimeout()
throws SQLException
SQLExceptionpublic final void setSendBufferSize(int size)
throws SQLException
SQLExceptionpublic final int getSendBufferSize()
throws SQLException
SQLExceptionprotected final int getCachedIsolation()
public final NetAgent createNewAgentOrReset(LogWriter logWriter, int loginTimeout, String thisUrl, String serverName, int[] port, int clientSSLMode, Set failedUrls, SqlException failoverEx, Connection.FailoverStatus status) throws SqlException
SqlExceptionprotected final Agent newAgent_(LogWriter logWriter, int loginTimeout, String serverName, int portNumber, int clientSSLMode, Properties incomingProps) throws SqlException
newAgent_ in class ConnectionSqlExceptionprotected Statement newStatement_(int type, int concurrency, int holdability) throws SqlException
newStatement_ in class ConnectionSqlExceptionprotected void resetStatement_(Statement statement, int type, int concurrency, int holdability) throws SqlException
resetStatement_ in class ConnectionSqlExceptionprotected PreparedStatement newPositionedUpdatePreparedStatement_(String sql, Section section) throws SqlException
newPositionedUpdatePreparedStatement_ in class ConnectionSqlExceptionprotected PreparedStatement newPreparedStatement_(String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes) throws SqlException
newPreparedStatement_ in class ConnectionSqlExceptionprotected void resetPreparedStatement_(PreparedStatement ps, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes) throws SqlException
resetPreparedStatement_ in class ConnectionSqlExceptionprotected CallableStatement newCallableStatement_(String sql, int type, int concurrency, int holdability) throws SqlException
newCallableStatement_ in class ConnectionSqlExceptionprotected void resetCallableStatement_(CallableStatement cs, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SqlException
resetCallableStatement_ in class ConnectionSqlExceptionprotected DatabaseMetaData newDatabaseMetaData_()
newDatabaseMetaData_ in class Connectionprotected void constructCrrtkn()
throws SqlException
SqlExceptionpublic int getSQLAM()
public int getAGENT()
public int getCMNTCPIP()
public int getRDB()
public int getSECMGR()
public int getXAMGR()
public int getSYNCPTMGR()
public int getRSYNCMGR()
public void writeCommitSubstitute_()
throws SqlException
writeCommitSubstitute_ in class ConnectionSqlExceptionpublic void readCommitSubstitute_()
throws SqlException
readCommitSubstitute_ in class ConnectionSqlExceptionpublic void writeLocalXAStart_()
throws SqlException
writeLocalXAStart_ in class ConnectionSqlExceptionpublic void readLocalXAStart_()
throws SqlException
readLocalXAStart_ in class ConnectionSqlExceptionpublic void writeLocalXACommit_()
throws SqlException
writeLocalXACommit_ in class ConnectionSqlExceptionpublic void readLocalXACommit_()
throws SqlException
readLocalXACommit_ in class ConnectionSqlExceptionpublic void writeLocalXARollback_()
throws SqlException
writeLocalXARollback_ in class ConnectionSqlExceptionpublic void readLocalXARollback_()
throws SqlException
readLocalXARollback_ in class ConnectionSqlExceptionpublic void writeLocalCommit_()
throws SqlException
writeLocalCommit_ in class ConnectionSqlExceptionpublic void readLocalCommit_()
throws SqlException
readLocalCommit_ in class ConnectionSqlExceptionpublic void writeLocalRollback_()
throws SqlException
writeLocalRollback_ in class ConnectionSqlExceptionpublic void readLocalRollback_()
throws SqlException
readLocalRollback_ in class ConnectionSqlExceptionprotected void markClosed_()
markClosed_ in class Connectionprotected boolean isGlobalPending_()
isGlobalPending_ in class Connectionprotected boolean doCloseStatementsOnClose_()
doCloseStatementsOnClose_ in class Connectionprotected boolean allowCloseInUOW_()
allowCloseInUOW_ in class Connectiontrue; otherwise, falseprotected boolean allowLocalCommitRollback_()
allowLocalCommitRollback_ in class Connectionpublic void setInputStream(InputStream inputStream)
public void setOutputStream(OutputStream outputStream)
public InputStream getInputStream()
getInputStream in class Connectionpublic OutputStream getOutputStream()
getOutputStream in class Connectionpublic void writeTransactionStart(Statement statement) throws SqlException
writeTransactionStart in class ConnectionSqlExceptionpublic void readTransactionStart()
throws SqlException
readTransactionStart in class ConnectionSqlExceptionpublic void setIndoubtTransactions(Hashtable indoubtTransactions)
protected void setReadOnlyTransactionFlag(boolean flag)
public SectionManager newSectionManager(String collection, Agent agent, String databaseName)
newSectionManager in class Connectionprotected int getSocketAndInputOutputStreams(String server, int port, int clientSSLMode)
protected int checkAlternateServerHasEqualOrHigherProductLevel(ProductLevel orgLvl, int orgServerType)
public boolean willAutoCommitGenerateFlow()
willAutoCommitGenerateFlow in class Connectionpublic int getSecurityMechanism()
public EncryptionManager getEncryptionManager()
public byte[] getTargetPublicKey()
public String getProductID()
public void doResetNow()
throws SqlException
SqlExceptionpublic boolean isConnectionNull()
public void setConnectionNull(boolean connectionNull)
connectionNull - The connectionNull to set.public final boolean serverSupportsQryclsimp()
public final boolean serverSupportsLayerBStreaming()
protected final boolean supportsSessionDataCaching()
supportsSessionDataCaching in class Connectionprotected final boolean serverSupportsUDTs()
protected final boolean serverSupportsLocators()
serverSupportsLocators in class Connectiontrue if LOB locators are supported.public void close()
throws SQLException
close in interface AutoCloseableclose in interface Connectionclose in class ConnectionSQLExceptionpublic void closeX()
throws SQLException
closeX in class ConnectionSQLExceptionpublic void closeForReuse()
throws SqlException
SqlExceptionpublic void closeResources()
throws SQLException
closeResources in class ConnectionSQLExceptionprotected void writeXACommit_()
throws SqlException
writeXACommit_ in class ConnectionSqlExceptionprotected void readXACommit_()
throws SqlException
readXACommit_ in class ConnectionSqlExceptionprotected void writeXARollback_()
throws SqlException
writeXARollback_ in class ConnectionSqlExceptionprotected void readXARollback_()
throws SqlException
readXARollback_ in class ConnectionSqlExceptionprotected void writeXATransactionStart(Statement statement) throws SqlException
writeXATransactionStart in class ConnectionSqlExceptionpublic NetConnection.DSConnectionInfo getDSConnectionInfo()
public void setBaseConnection(Connection conn)
public void setServerURL(String serverURL)
public int getSavePointToRollbackTo()
public void setTXID(long memberIdOfTxid,
long uniqIdOfTxId)
public TxID getTxID()
public void setServerVersion(com.gemstone.gemfire.internal.shared.Version serverVersion)
public final boolean isSnappyDRDAProtocol()
public void updateRegionInfoForCommit(int prid,
int bid)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.