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) |
getInputSinkRegistry
evaluate, extractLocks, extractLocks, isSelectForUpdate, locatorsUpdateCopy
getTransactionContext
close, create, getParent, getParentProxy, remove
addChild, children, entries, get, getDatabaseCluster, getExceptionFactory, record, remove, removeChild, removeChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactionContext
close, getParent, getParentProxy, remove
addChild, createProxy, entries, get, getDatabaseCluster, getExceptionFactory, record, removeChild, removeChildren
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)
public Connection getConnection(D database) throws SQLException
SQLException
public List<Lock> getBatchLocks() throws SQLException
SQLException
public 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>
SQLException
Copyright © 2004–2014 Paul Ferraro. All rights reserved.