| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | afterStatementExecution()
Used to signify that a statement has completed execution which may indicate that this logical connection need to perform an aggressive release of its physical connection. |
| public void | |
| public void | |
| public Connection | |
| public < The result type. T> T | Returns: The work result.The work to be performed. work)Perform the requested work handling exceptions, coordinating and handling return processing. |
| public int | Returns: The number of seconds remaining until until a transaction timeout occurs. A negative value indicates no timeout was requested.Calculate the amount of time, in seconds, still remaining before transaction timeout occurs. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Batch | |
| public default PhysicalConnectionHandlingMode | Returns: The JDBC Connection handlng mode
Deprecated
(since 5.2) access via
The mode for physical handling of the JDBC Connection
getLogicalConnection instead
|
| public default ConnectionReleaseMode | Returns: the release mode.
Deprecated
(since 5.2) use
The release mode under which this logical connection is operating.
PhysicalConnectionHandlingMode via getLogicalConnection instead
|
| public LogicalConnectionImplementor | Returns: The logical connectionRetrieves the logical connection associated with this JDBC coordinator. |
| public default ResourceRegistry | |
| public ResultSetReturn | Returns: This coordinator's resultset extractorObtain the resultset extractor associated with this JDBC coordinator. |
| public StatementPreparer | Returns: This coordinator's statement preparerObtain the statement preparer associated with this JDBC coordinator. |
| public boolean | Returns: true indicates the coordinator can be serialized.Can this coordinator be serialized? |
| public void | registerLastQuery(Statement
The cancel-able query statement. statement)Register a query statement as being able to be cancelled. |
| public void |
| abortBatch | back to summary |
|---|---|
| public void abortBatch() Abort the currently managed batch (if any) | |
| afterStatementExecution | back to summary |
|---|---|
| public void afterStatementExecution() Used to signify that a statement has completed execution which may indicate that this logical connection need to perform an aggressive release of its physical connection. | |
| afterTransaction | back to summary |
|---|---|
| public void afterTransaction() Signals the end of transaction. Intended for use from the transaction coordinator, after local transaction completion. Used to conditionally release the JDBC connection aggressively if the configured release mode indicates. | |
| cancelLastQuery | back to summary |
|---|---|
| public void cancelLastQuery() Attempt to cancel the last query sent to the JDBC driver. | |
| close | back to summary |
|---|---|
| public Connection close() Close this coordinator and release and resources.
| |
| coordinateWork | back to summary |
|---|---|
| public <T> T coordinateWork(WorkExecutorVisitable<T> work) Perform the requested work handling exceptions, coordinating and handling return processing.
| |
| determineRemainingTransactionTimeOutPeriod | back to summary |
|---|---|
| public int determineRemainingTransactionTimeOutPeriod() Calculate the amount of time, in seconds, still remaining before transaction timeout occurs.
| |
| disableReleases | back to summary |
|---|---|
| public void disableReleases() Disable connection releases | |
| enableReleases | back to summary |
|---|---|
| public void enableReleases() Enable connection releases | |
| executeBatch | back to summary |
|---|---|
| public void executeBatch() Execute the currently managed batch (if any) | |
| flushBeginning | back to summary |
|---|---|
| public void flushBeginning() Callback to let us know that a flush is beginning. We use this fact
to temporarily circumvent aggressive connection releasing until after
the flush cycle is complete | |
| flushEnding | back to summary |
|---|---|
| public void flushEnding() Callback to let us know that a flush is ending. We use this fact to stop circumventing aggressive releasing connections. | |
| getBatch | back to summary |
|---|---|
| public Batch getBatch(BatchKey key) Get a batch instance. | |
| getConnectionHandlingMode | back to summary |
|---|---|
| public default PhysicalConnectionHandlingMode getConnectionHandlingMode()
Deprecated (since 5.2) access via The mode for physical handling of the JDBC Connection
| |
| getConnectionReleaseMode | back to summary |
|---|---|
| public default ConnectionReleaseMode getConnectionReleaseMode()
Deprecated (since 5.2) use The release mode under which this logical connection is operating.
| |
| getLogicalConnection | back to summary |
|---|---|
| public LogicalConnectionImplementor getLogicalConnection() Retrieves the logical connection associated with this JDBC coordinator.
| |
| getResourceRegistry | back to summary |
|---|---|
| public default ResourceRegistry getResourceRegistry()
Deprecated (since 5.2) access via
| |
| getResultSetReturn | back to summary |
|---|---|
| public ResultSetReturn getResultSetReturn() Obtain the resultset extractor associated with this JDBC coordinator.
| |
| getStatementPreparer | back to summary |
|---|---|
| public StatementPreparer getStatementPreparer() Obtain the statement preparer associated with this JDBC coordinator.
| |
| isReadyForSerialization | back to summary |
|---|---|
| public boolean isReadyForSerialization() Can this coordinator be serialized?
| |
| registerLastQuery | back to summary |
|---|---|
| public void registerLastQuery(Statement statement) Register a query statement as being able to be cancelled.
| |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream objectOutputStream) throws IOException | |