public interface INotificationConnectorPool
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
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(java.lang.String[] orderingKeys,
INotificationConnection[] notificationConnections)
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 java.lang.String _rcsid
INotificationConnector[] grabMultiple(java.lang.String[] orderingKeys, INotificationConnection[] notificationConnections) 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.ManifoldCFException
INotificationConnector grab(INotificationConnection notificationConnection) throws ManifoldCFException
notificationConnection
- is the authority connection to base the connector instance on.ManifoldCFException
void releaseMultiple(INotificationConnection[] connections, INotificationConnector[] connectors) throws ManifoldCFException
connections
- are the connections describing the instances to release.connectors
- are the connector instances to release.ManifoldCFException
void release(INotificationConnection connection, INotificationConnector connector) throws ManifoldCFException
connection
- is the connection describing the instance to release.connector
- is the connector to release.ManifoldCFException
void pollAllConnectors() throws ManifoldCFException
ManifoldCFException
void flushUnusedConnectors() throws ManifoldCFException
ManifoldCFException
void closeAllConnectors() throws ManifoldCFException
ManifoldCFException