object: Pooled object methods.

Description Usage Arguments

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 Jan. 15, 2021, 3:31 p.m.