public class JDBCConnectionPropagator extends Object
JDBCConnection
s in use by a backend, so that they can
notify each other when there's a connection failure.Modifier and Type | Field and Description |
---|---|
List<JDBCConnection> |
connections |
Constructor and Description |
---|
JDBCConnectionPropagator() |
Modifier and Type | Method and Description |
---|---|
void |
addConnection(JDBCConnection connection) |
void |
checkConnectionValid(JDBCConnection exclude)
Notifies all connection that they must check their validity.
|
void |
removeConnection(JDBCConnection connection) |
public final List<JDBCConnection> connections
public void addConnection(JDBCConnection connection)
public void removeConnection(JDBCConnection connection)
public void checkConnectionValid(JDBCConnection exclude)
exclude
- a connection to exclude, the one from which the request
originatesCopyright © 2011 Nuxeo SA. All Rights Reserved.