interface Connection

Methods

mixed
getConnection()

Return the underlying connection.

bool
reconnect()

Reconnect the connection.

bool
check()

Determine if the connection is valid.

bool
close()

Close the connection.

void
release()

Release the connection to its pool.

void
discard()

Discard the connection from its pool.

Details

at line 12
mixed getConnection()

Return the underlying connection.

Return Value

mixed

at line 19
bool reconnect()

Reconnect the connection.

Return true if the connection is available for use when reconnection completes.

Return Value

bool

at line 24
bool check()

Determine if the connection is valid.

Return Value

bool

at line 29
bool close()

Close the connection.

Return Value

bool

at line 34
void release()

Release the connection to its pool.

Return Value

void

at line 39
void discard()

Discard the connection from its pool.

Return Value

void