## Uses of Class
com.pivotal.gemfirexd.internal.client.am.LogWriter

Packages that use LogWriter
Package | Description
--- | ---
com.pivotal.gemfirexd.internal.client |
com.pivotal.gemfirexd.internal.client.am |
com.pivotal.gemfirexd.internal.client.net |
com.pivotal.gemfirexd.internal.jdbc |

### Uses of LogWriter in com.pivotal.gemfirexd.internal.client

Fields in com.pivotal.gemfirexd.internal.client declared as LogWriter
Modifier and Type | Field and Description
--- | ---
`protected LogWriter` | ClientPooledConnection.`logWriter_`

Constructors in com.pivotal.gemfirexd.internal.client with parameters of type LogWriter
Constructor and Description
`ClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Constructor for non-XA pooled connections.
`ClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` Constructor for XA pooled connections only.
`ClientPooledConnection40(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)`
`ClientPooledConnection40(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)`

### Uses of LogWriter in com.pivotal.gemfirexd.internal.client.am

Fields in com.pivotal.gemfirexd.internal.client.am declared as LogWriter
Modifier and Type | Field and Description
--- | ---
`LogWriter` | ColumnMetaData.`logWriter_`
`LogWriter` | Agent.`logWriter_`

Methods in com.pivotal.gemfirexd.internal.client.am that return LogWriter
Modifier and Type | Method and Description
--- | ---
`abstract LogWriter` | Agent.`newLogWriter_(PrintWriter printWriter, int traceLevel)`

Methods in com.pivotal.gemfirexd.internal.client.am with parameters of type LogWriter
Modifier and Type | Method and Description
--- | ---
`protected void` | Connection.`initConnection(LogWriter logWriter, String password, ClientBaseDataSource dataSource)`
`static SqlException` | SqlException.`javaException(LogWriter logWriter, Throwable e)` Helper method to construct an exception which basically says that we encountered an underlying Java exception
`protected abstract Agent` | Connection.`newAgent_(LogWriter logWriter, int loginTimeout, String serverName, int portNumber, int clientSSLMode, Properties properties)`
`ClientPooledConnection` | ClientJDBCObjectFactory.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` This method is used to return an instance of ClientPooledConnection (or ClientPooledConnection40) class which implements javax.sql.PooledConnection
`ClientPooledConnection` | ClientJDBCObjectFactory.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` This method is used to return an instance of ClientPooledConnection(or ClientPooledConnection40) class which implements javax.sql.PooledConnection
`ClientXAConnection` | ClientJDBCObjectFactory.`newClientXAConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` This method is used to return an instance of ClientXAConnection (or ClientXAConnection40) class which implements javax.sql.XAConnection
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, ClientBaseDataSource clientDataSource, String user, String password)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)` This methos returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String databaseName, Properties properties)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface

`Connection`

ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)`
This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface This method is used to pass the ClientPooledConnection object to the NetConnection object which can then be used to pass the statement events back to the user

`protected abstract void` | Connection.`reset_(LogWriter logWriter)`
`void` | Connection.`reset(LogWriter logWriter)`
`protected abstract void` | Agent.`resetAgent_(LogWriter logWriter, int loginTimeout, String server, int port)`
`void` | Agent.`resetAgent(Connection connection, LogWriter logWriter, int loginTimeout, String server, int port)`
`protected void` | Agent.`resetAgent(LogWriter logWriter)`
`protected void` | Connection.`resetConnection(LogWriter logWriter)`
`void` | ColumnMetaData.`setLogWriter(LogWriter logWriter)`
`void` | Agent.`setLogWriter(LogWriter logWriter)`
`void` | LogWriter.`traceConnectResetEntry(Object instance, LogWriter logWriter, String user, ClientBaseDataSource ds)`

Constructors in com.pivotal.gemfirexd.internal.client.am with parameters of type LogWriter
Constructor and Description
`Agent(Connection connection, LogWriter logWriter)`
`BatchUpdateException(LogWriter logWriter)`
`BatchUpdateException(LogWriter logWriter, ClientMessageId msgid, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, ClientMessageId msgid, Object[] args, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, ClientMessageId msgid, Object[] args, int[] updateCounts, SqlException cause)`
`BatchUpdateException(LogWriter logWriter, ClientMessageId msgid, Object arg1, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, String reason, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, String reason, String sqlState, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, String reason, String sqlState, int errorCode, int[] updateCounts)`
`BatchUpdateException(LogWriter logWriter, String reason, String sqlState, int errorCode, int[] updateCounts, SqlException cause)`
`Connection(LogWriter logWriter, boolean isXAConn, ClientBaseDataSource dataSource)`
`Connection(LogWriter logWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties)`
`Connection(LogWriter logWriter, String user, String password, boolean isXAConn, ClientBaseDataSource dataSource)`
`Connection(LogWriter logWriter, String user, String password, ClientBaseDataSource dataSource)`
`SqlException(LogWriter logwriter, ClientMessageId msgid)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object arg1)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object[] args)`
`SqlException(LogWriter logWriter, ClientMessageId msgid, Object[] args, SqlCode sqlcode)`
`SqlException(LogWriter logWriter, ClientMessageId msgid, Object[] args, SqlCode sqlcode, Throwable t)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object[] args, Throwable cause)` Create a SqlException.
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object arg1, Object arg2)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object arg1, Object arg2, Object arg3)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object arg1, Object arg2, Object arg3, Throwable cause)`
`SqlException(LogWriter logWriter, ClientMessageId msgid, Object arg1, Object arg2, SqlCode sqlcode)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object arg1, Object arg2, Throwable cause)`
`SqlException(LogWriter logWriter, ClientMessageId msgid, Object arg1, SqlCode sqlcode)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Object arg1, Throwable cause)`
`SqlException(LogWriter logWriter, ClientMessageId msgid, SqlCode sqlcode)`
`SqlException(LogWriter logwriter, ClientMessageId msgid, Throwable cause)`
`SqlException(LogWriter logWriter, Sqlca sqlca)` Create an exception for an engine generated error.
`SqlException(LogWriter logWriter, String reason, String sqlState, int errorCode)`
`SqlException(LogWriter logWriter, Throwable throwable, String reason, String sqlState, int errorCode, String msgid, Object[] args)`
`SqlWarning(LogWriter logwriter, ClientMessageId msgid)`
`SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object arg1)`
`SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object[] args)`
`SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object[] args, Throwable cause)`
`SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object arg1, Object arg2)`
`SqlWarning(LogWriter logwriter, ClientMessageId msgid, Object arg1, Object arg2, Object arg3)`
`SqlWarning(LogWriter logWriter, Sqlca sqlca)`
`SqlWarning(LogWriter logWriter, Throwable throwable, String reason, String sqlState, int errorCode)`
`XaException(LogWriter logWriter)`
`XaException(LogWriter logWriter, int errcode)`
`XaException(LogWriter logWriter, String s)`
`XaException(LogWriter logWriter, Throwable throwable)`
`XaException(LogWriter logWriter, Throwable throwable, int errcode)`
`XaException(LogWriter logWriter, Throwable throwable, String s)`

### Uses of LogWriter in com.pivotal.gemfirexd.internal.client.net

Subclasses of LogWriter in com.pivotal.gemfirexd.internal.client.net
Modifier and Type | Class and Description
--- | ---
`class` | `NetLogWriter`

Methods in com.pivotal.gemfirexd.internal.client.net that return LogWriter
Modifier and Type | Method and Description
--- | ---
`LogWriter` | NetAgent.`newLogWriter_(PrintWriter printWriter, int traceLevel)`

Methods in com.pivotal.gemfirexd.internal.client.net with parameters of type LogWriter
Modifier and Type | Method and Description
--- | ---
`NetAgent` | NetConnection.`createNewAgentOrReset(LogWriter logWriter, int loginTimeout, String thisUrl, String serverName, int[] port, int clientSSLMode, Set failedUrls, SqlException failoverEx, Connection.FailoverStatus status)`
`protected Agent` | NetConnection.`newAgent_(LogWriter logWriter, int loginTimeout, String serverName, int portNumber, int clientSSLMode, Properties incomingProps)`
`ClientPooledConnection` | ClientJDBCObjectFactoryImpl40.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientPooledConnection40
`ClientPooledConnection` | ClientJDBCObjectFactoryImpl40.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientPooledConnection40
`ClientXAConnection` | ClientJDBCObjectFactoryImpl40.`newClientXAConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientXAConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, ClientBaseDataSource clientDataSource, String user, String password)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String databaseName, Properties properties)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection.
`boolean` | NetAgent.`reconnectAgent(LogWriter logWriter, int loginTimeout, String server, int port)`
`protected void` | NetConnection.`reset_(LogWriter logWriter)`
`protected void` | NetAgent.`resetAgent_(LogWriter netLogWriter, int loginTimeout, String server, int port)`
`void` | NetConnection.`resetNetConnection(LogWriter logWriter)`

Constructors in com.pivotal.gemfirexd.internal.client.net with parameters of type LogWriter
Constructor and Description
`NetAgent(NetConnection netConnection, LogWriter logWriter)`

### Uses of LogWriter in com.pivotal.gemfirexd.internal.jdbc

Methods in com.pivotal.gemfirexd.internal.jdbc that return LogWriter
Modifier and Type | Method and Description
--- | ---
`static LogWriter` | ClientBaseDataSource.`computeDncLogWriter(Connection connection, PrintWriter logWriter, String traceDirectory, String traceFile, boolean traceFileAppend, String logWriterInUseSuffix, int traceFileSuffixIndex, int traceLevel)`
`static LogWriter` | ClientBaseDataSource.`computeDncLogWriterForNewConnection(PrintWriter logWriter, String traceDirectory, String traceFile, boolean traceFileAppend, int traceLevel, String logWriterInUseSuffix, int traceFileSuffixIndex)`