| Modifier and Type | Field and Description |
|---|---|
SqlException |
accumulatedReadExceptions_ |
boolean |
disableDisconnectEvent_ |
boolean |
forSqlException_ |
LogWriter |
logWriter_ |
SectionManager |
sectionManager_ |
| Modifier | Constructor and Description |
|---|---|
protected |
Agent(Connection connection,
LogWriter logWriter) |
public SqlException accumulatedReadExceptions_
public SectionManager sectionManager_
public LogWriter logWriter_
public boolean disableDisconnectEvent_
public boolean forSqlException_
protected Agent(Connection connection, LogWriter logWriter)
public void accumulateDeferredException(SqlException e)
protected void resetAgent(LogWriter logWriter)
public void resetAgent(Connection connection, LogWriter logWriter, int loginTimeout, String server, int port) throws SqlException
SqlExceptionprotected abstract void resetAgent_(LogWriter logWriter, int loginTimeout, String server, int port) throws SqlException
SqlExceptionpublic final boolean loggingEnabled()
public final void setLogWriter(LogWriter logWriter)
public final PrintWriter getLogWriter()
public abstract LogWriter newLogWriter_(PrintWriter printWriter, int traceLevel)
public final void accumulateReadException(SqlException e)
public final void accumulateDisconnectException(DisconnectException e)
public final void accumulateChainBreakingReadExceptionAndThrow(DisconnectException e) throws DisconnectException
DisconnectExceptionprotected abstract void markChainBreakingException_()
public abstract void checkForChainBreakingException_()
throws SqlException
SqlExceptionpublic final void setBatchedExceptionLabelIndex(int index)
protected final void checkForExceptions()
throws SqlException
SqlExceptionpublic final void flow(Statement statement) throws SqlException
SqlExceptionpublic final void flowBatch(Statement statement, int batchSize) throws SqlException
SqlExceptionpublic final void flowOutsideUOW()
throws SqlException
SqlExceptionpublic abstract void flush_()
throws DisconnectException
DisconnectExceptionpublic abstract void close_()
throws SqlException
SqlExceptionpublic void close()
throws SqlException
SqlExceptionpublic abstract int getPort()
public abstract String getServer()
public abstract String getServerLocation()
public final void disconnectEvent()
public void beginWriteChainOutsideUOW()
throws SqlException
SqlExceptionpublic void beginWriteChain(Statement statement) throws SqlException
SqlExceptionpublic final void beginBatchedWriteChain(Statement statement) throws SqlException
SqlExceptionprotected void endWriteChain()
protected final void endBatchedWriteChain()
protected void beginReadChain(Statement statement) throws SqlException
SqlExceptionprotected final void beginBatchedReadChain(Statement statement, int batchSize) throws SqlException
SqlExceptionprotected void beginReadChainOutsideUOW()
throws SqlException
SqlExceptionpublic void endReadChain()
throws SqlException
SqlExceptionpublic final void endBatchedReadChain(int[] updateCounts,
SqlException accumulatedExceptions)
throws BatchUpdateException
BatchUpdateExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.