public abstract class AbstractStatementProxyFactory<Z,D extends Database<Z>,S extends Statement> extends AbstractInputSinkRegistryProxyFactory<Z,D,Connection,S>
logger| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStatementProxyFactory(Connection parent,
ProxyFactory<Z,D,Connection,SQLException> parentFactory,
Invoker<Z,D,Connection,S,SQLException> invoker,
Map<D,S> map,
TransactionContext<Z,D> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatchInvoker(Invoker<Z,D,S,?,SQLException> invoker) |
void |
addBatchSQL(String sql) |
void |
clearBatch() |
void |
clearBatchInvokers() |
void |
close(D database,
S statement) |
List<String> |
getBatch() |
List<Lock> |
getBatchLocks() |
Connection |
getConnection(D database) |
void |
replay(D database,
S object) |
getInputSinkRegistryevaluate, extractLocks, extractLocks, isSelectForUpdate, locatorsUpdateCopygetTransactionContextclose, create, getParent, getParentProxy, removeaddChild, children, entries, get, getDatabaseCluster, getExceptionFactory, record, remove, removeChild, removeChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTransactionContextclose, getParent, getParentProxy, removeaddChild, createProxy, entries, get, getDatabaseCluster, getExceptionFactory, record, removeChild, removeChildrenprotected AbstractStatementProxyFactory(Connection parent, ProxyFactory<Z,D,Connection,SQLException> parentFactory, Invoker<Z,D,Connection,S,SQLException> invoker, Map<D,S> map, TransactionContext<Z,D> context)
public Connection getConnection(D database) throws SQLException
SQLExceptionpublic List<Lock> getBatchLocks() throws SQLException
SQLExceptionpublic void addBatchSQL(String sql)
public void clearBatch()
public void addBatchInvoker(Invoker<Z,D,S,?,SQLException> invoker)
public void clearBatchInvokers()
public void replay(D database, S object) throws SQLException
replay in interface ProxyFactory<Z,D extends Database<Z>,S extends Statement,SQLException>replay in class AbstractProxyFactory<Z,D extends Database<Z>,SQLException,S extends Statement,SQLException>SQLExceptionCopyright © 2004–2014 Paul Ferraro. All rights reserved.