public class ConnectionChecker extends Object implements DbConnectionService
Constructor and Description |
---|
ConnectionChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkDbConnection()
A method to check the Database connection.
|
void |
stop()
Stops (shutdowns) operations.
|
public boolean checkDbConnection()
DbConnectionService
checkDbConnection
in interface DbConnectionService
true
if connection exists,
false
if connection doesn't exist.Copyright © 2016. All Rights Reserved.