org.nuxeo.ecm.core.storage.sql.jdbc
Class JDBCConnectionPropagator
java.lang.Object
org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnectionPropagator
public class JDBCConnectionPropagator
- extends Object
Knows all the JDBCConnection
s in use by a backend, so that they can
notify each other when there's a connection failure.
connections
public final List<JDBCConnection> connections
JDBCConnectionPropagator
public JDBCConnectionPropagator()
addConnection
public void addConnection(JDBCConnection connection)
checkConnectionValid
public void checkConnectionValid(JDBCConnection exclude)
- Notifies all connection that they must check their validity.
- Parameters:
exclude
- a connection to exclude, the one from which the request
originates
Copyright © 2011 Nuxeo SAS. All Rights Reserved.