hooks: Pooled object methods.

hooksR Documentation

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 signature 'ANY'
onActivate(object)

## S4 method for signature 'ANY'
onPassivate(object)

## S4 method for signature 'ANY'
onDestroy(object)

## S4 method for signature 'ANY'
onValidate(object, query)

## S4 method for signature 'DBIConnection'
onPassivate(object)

## S4 method for signature 'DBIConnection'
onDestroy(object)

## S4 method for signature 'DBIConnection'
onValidate(object)

Arguments

object

A pooled object.

query

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


pool documentation built on March 7, 2023, 6:49 p.m.