hooks function

Pooled object methods.

Pooled object methods.

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.

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.
  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2024-10-07

Downloads (last 30 days):