public interface INotificationConnectorPool
| Modifier and Type | Method and Description |
|---|---|
void |
closeAllConnectors()
Clean up all open notification connector handles.
|
void |
flushUnusedConnectors()
Flush only those connector handles that are currently unused.
|
INotificationConnector |
grab(INotificationConnection notificationConnection)
Get a notification connector.
|
INotificationConnector[] |
grabMultiple(String[] orderingKeys,
INotificationConnection[] authorityConnections)
Get multiple notification connectors, all at once.
|
void |
pollAllConnectors()
Idle notification for inactive notification connector handles.
|
void |
release(INotificationConnection connection,
INotificationConnector connector)
Release a notification connector.
|
void |
releaseMultiple(INotificationConnection[] connections,
INotificationConnector[] connectors)
Release multiple notification connectors.
|
static final String _rcsid
INotificationConnector[] grabMultiple(String[] orderingKeys, INotificationConnection[] authorityConnections) throws ManifoldCFException
orderingKeys - are the keys which determine in what order the connectors are obtained.notificationConnections - are the connections to use the build the connector instances.ManifoldCFExceptionINotificationConnector grab(INotificationConnection notificationConnection) throws ManifoldCFException
notificationConnection - is the authority connection to base the connector instance on.ManifoldCFExceptionvoid releaseMultiple(INotificationConnection[] connections, INotificationConnector[] connectors) throws ManifoldCFException
connections - are the connections describing the instances to release.connectors - are the connector instances to release.ManifoldCFExceptionvoid release(INotificationConnection connection, INotificationConnector connector) throws ManifoldCFException
connection - is the connection describing the instance to release.connector - is the connector to release.ManifoldCFExceptionvoid pollAllConnectors()
throws ManifoldCFException
ManifoldCFExceptionvoid flushUnusedConnectors()
throws ManifoldCFException
ManifoldCFExceptionvoid closeAllConnectors()
throws ManifoldCFException
ManifoldCFException