Class PostgresqlPortMonitor
java.lang.Object
com.aoindustries.noc.monitor.portmon.PortMonitor
com.aoindustries.noc.monitor.portmon.JdbcPortMonitor
com.aoindustries.noc.monitor.portmon.PostgresqlPortMonitor
Monitors a PostgreSQL database.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.noc.monitor.portmon.JdbcPortMonitor
readOnly, TIMEOUTFields inherited from class com.aoindustries.noc.monitor.portmon.PortMonitor
canceled, CRLF, ipAddress, port -
Constructor Summary
ConstructorsConstructorDescriptionPostgresqlPortMonitor(InetAddress ipAddress, Port port, URIParameters monitoringParameters) Creates a new PostgreSQL monitor. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGets the default JDBC database.protected StringGets the default JDBC username.protected StringGets the driver classname.protected StringgetJdbcUrl(InetAddress ipAddress, int port, String database) Methods inherited from class com.aoindustries.noc.monitor.portmon.JdbcPortMonitor
cancel, checkPort, getDefaultQueryMethods inherited from class com.aoindustries.noc.monitor.portmon.PortMonitor
getPortMonitor, readLine
-
Constructor Details
-
PostgresqlPortMonitor
Creates a new PostgreSQL monitor.
-
-
Method Details
-
getDriver
Description copied from class:JdbcPortMonitorGets the driver classname.- Specified by:
getDriverin classJdbcPortMonitor
-
getJdbcUrl
- Specified by:
getJdbcUrlin classJdbcPortMonitor
-
getDefaultUsername
Description copied from class:JdbcPortMonitorGets the default JDBC username.- Specified by:
getDefaultUsernamein classJdbcPortMonitor
-
getDefaultDatabase
Description copied from class:JdbcPortMonitorGets the default JDBC database.- Specified by:
getDefaultDatabasein classJdbcPortMonitor
-
