Learn R Programming

pool (version 1.0.4)

hooks: Pooled object methods.

Description

For backend authors only. Authors should implement all of these, which are then called by the Pool class methods. These should not be called directly either by backend authors or by the end users.

Usage

onActivate(object)

onPassivate(object)

onDestroy(object)

onValidate(object, query)

# S4 method for ANY onActivate(object)

# S4 method for ANY onPassivate(object)

# S4 method for ANY onDestroy(object)

# S4 method for ANY onValidate(object, query)

# S4 method for DBIConnection onPassivate(object)

# S4 method for DBIConnection onDestroy(object)

# S4 method for DBIConnection onValidate(object)

Arguments

object

A pooled object.

query

A simple query that can be used to verify that the object functions as expected.