Method Sql.pgsql()->ping()
- Method ping
finalintping()- Description
Check whether the connection is alive.
- Returns
Returns one of the following:
0Everything ok.
-1The server has gone away, and the connection is dead.
- See also
final int ping()
Check whether the connection is alive.
Returns one of the following:
| Everything ok. |
| The server has gone away, and the connection is dead. |