interface PingableConnection (View source)

An interface for connections which support a "native" ping method.

Methods

bool
ping()

Pings the database server to determine if the connection is still available. Return true/false based on if that was successful or not.

Details

bool ping()

Pings the database server to determine if the connection is still available. Return true/false based on if that was successful or not.

Return Value

bool