public interface HostMonitorService
| Modifier and Type | Method and Description |
|---|---|
ConnectionContext |
startMonitoring(java.sql.Connection connectionToAbort,
HostSpec hostSpec,
java.util.Properties properties) |
void |
stopMonitoring(ConnectionContext context)
Stop monitoring for a connection represented by the given
HostMonitorConnectionContext. |
ConnectionContext startMonitoring(java.sql.Connection connectionToAbort, HostSpec hostSpec, java.util.Properties properties) throws java.sql.SQLException
java.sql.SQLExceptionvoid stopMonitoring(ConnectionContext context)
HostMonitorConnectionContext.
Removes the context from the HostMonitor.context - The HostMonitorConnectionContext representing a connection.