public final class JDBCQueryMonitor extends JDBCMonitor
JDBCQueryMonitor class.
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
DEFAULT_RETRY, DEFAULT_TIMEOUT
Constructor and Description |
---|
JDBCQueryMonitor()
Constructor for JDBCQueryMonitor.
|
Modifier and Type | Method and Description |
---|---|
PollStatus |
checkDatabaseStatus(Connection con,
Map<String,Object> parameters)
checkDatabaseStatus
|
closeStmt, poll
getRuntimeAttributes, getSubstitutedParameters, parseString, resolveKeyedString
getEffectiveLocation, getKeyedBoolean, getKeyedInstance, getKeyedInteger, getKeyedLong, getKeyedObject, getKeyedString, getServiceProperties
public JDBCQueryMonitor() throws ClassNotFoundException, InstantiationException, IllegalAccessException
Constructor for JDBCQueryMonitor.
ClassNotFoundException
- if any.InstantiationException
- if any.IllegalAccessException
- if any.public PollStatus checkDatabaseStatus(Connection con, Map<String,Object> parameters)
checkDatabaseStatus
checkDatabaseStatus
in class JDBCMonitor
con
- a Connection
object.parameters
- a Map
object.PollStatus
object.Copyright © 2021. All rights reserved.