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 |
---|---|
ClusterNodeHandler |
clusterNodeHandler |
List<JDBCConnection> |
connections |
Constructor and Description |
---|
JDBCConnectionPropagator() |
Modifier and Type | Method and Description |
---|---|
void |
addConnection(JDBCConnection connection) |
void |
connectionWasReset(JDBCConnection connection)
Notifies all connection that they must check their validity.
|
void |
removeConnection(JDBCConnection connection) |
void |
setClusterNodeHandler(ClusterNodeHandler clusterNodeHandler) |
public final List<JDBCConnection> connections
public ClusterNodeHandler clusterNodeHandler
public void addConnection(JDBCConnection connection)
public void setClusterNodeHandler(ClusterNodeHandler clusterNodeHandler)
public void removeConnection(JDBCConnection connection)
public void connectionWasReset(JDBCConnection connection) throws StorageException
connection
- the connection that was resetStorageException
Copyright © 2013 Nuxeo SA. All Rights Reserved.