Properties

close

Will be called via Database#close. Indicates that the pool should perform any necessary teardown actions to its resources.

Parameter

callback

BasicCallback

The callback function.

getReadSession

When called returns a read-only session.

Parameter

callback

GetReadSessionCallback

The callback function.

getWriteSession

When called returns a read-write session with prepared transaction.

Parameter

callback

GetWriteSessionCallback

The callback function.

open

Will be called by the Database object, should be used to start creating sessions/etc.

release

To be called when releasing a session back into the pool.

Parameter

session

Session

The session to be released.