The cl-dbi-connection-pool Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-dbi-connection-pool Reference Manual

This is the cl-dbi-connection-pool Reference Manual, version 0.1, generated automatically by Declt version 2.4 patchlevel 1 "Will Decker" on Fri May 24 08:04:11 2019 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

CL-DBI-Connection-Pool - connection pool for CL-DBI

Build Status

This library provides connection pool for CL-DBI.

Usage

Create connection pool

make connection pool.

(dbi-cp:make-db-connection-pool driver-name &key database-name username password (initial-size 10) (max-size 10)) ;; => dbi-cp:<dbi-connection-pool>
(defparameter *CONNECTION-POOL*
  (dbi-cp:make-dbi-connection-pool :mysql :database-name "dbi-cp" :username "root" :password "password"))

Get connection

get database connection from connection pool.

(dbi-cp:get-connection connection-pool) ;; => dbi-cp.proxy:<dbi-connection-proxy>
(setf conn (dbi-cp:get-connection *CONNECTION-POOL*))

prepare, execute, fetch ...

Prepare

prepare SQL statement.

(dbi-cp:prepare connection sql) ;; => dbi.driver:<dbi-query>

this function is based on CL-DBI

Execute

execute SQL.

(dbi-cp:execute query &rest params) ;; => dbi.driver:<dbi-query>

this function is based on CL-DBI

Fetch

fetch first row from query which is returned by execute.

(dbi-cp:fetch query) ;; => result

this function is based on CL-DBI

Fetch all

fetch all ret row from query.

(dbi-cp:fetch-all query) ;; => result

this function is based on CL-DBI

row count

return the number of counts modified by last execute INSERT/UPDATE/DELETE query.

(dbi-cp:row-count connection) ;; => number

this function is based on CL-DBI

do sql

do preparation and execution at once for INSERT, UPDATE, DELETE or DDL.

(dbi-cp:do-sql connection sql &rest params)

this function is based on CL-DBI

Transaction

Start transaction

start a transaction.

(dbi-cp:begin-transaction connection)

this function is based on CL-DBI

create transaction block

start a transaction and commit at the end of this block. if the evaluation body is interrupted, the transaction is rolled back automatically.

(dbi-cp:with-transaction connection &body body)

this function is based on CL-DBI

commit

(dbi-cp:commit connection)

this function is based on CL-DBI

rollback

(dbi-cp:rollback connection)

this function is based on CL-DBI

savepoint

set a named transaction savepoint with a name of identifier.

(dbi-cp:savepoint connection identifier)

this function is based on CL-DBI

rollback savepoint

rollback a transaction to the named savepoint.

(dbi-cp:rollback-savepoint connection &optional identifier)

this function is based on CL-DBI

release savepoint

remove the named savepoint. no commit or rollback occurs.

(dbi-cp:release-savepoint connection &optional identifier)

this function is based on CL-DBI

Example

;;;
;;; create connection pool
;;;
CL-USER> (defparameter *pool*
           (dbi-cp:make-dbi-connection-pool :mysql
                                            :database-name "test"
                                            :username "root"
                                            :password "password"))
*POOL*

;;;
;;; get database connection
;;;
CL-USER> (defparameter connection (dbi-cp:get-connection *pool*))
CONNECTION
CL-USER> connection
#<DBI-CP.PROXY:<DBI-CONNECTION-PROXY> {1002E23973}>

;;;
;;; execute DDL
;;;
CL-USER> (dbi-cp:do-sql connection "create table person (id integer primary key, name varchar(24) not null)")
; No value

;;;
;;; select
;;;
CL-USER> (let* ((query (dbi-cp:prepare connection "select count(*) from person"))
                (result (dbi-cp:execute query)))
           (format T "~A" (dbi-cp:fetch result)))
(count(*) 0)
NIL

;;;
;;; insert
;;;
CL-USER> (dbi-cp:begin-transaction connection)
; No value

CL-USER> (let* ((query (dbi-cp:prepare connection "insert into person (id, name) values (?, ?)")))
           (dbi-cp:execute query 1 "user1")
           (dbi-cp:execute query 2 "user2")
           (dbi-cp:execute query 3 "user3"))
#<DBD.MYSQL:<DBD-MYSQL-QUERY> {1004B671F3}>

;;;
;;; select
;;;
CL-USER> (let* ((query (dbi-cp:prepare connection "select * from person"))
                (result (dbi-cp:execute query)))
           (dbi-cp:fetch-all result))
((:|id| 1 :|name| "user1") (:|id| 2 :|name| "user2") (:|id| 3 :|name| "user3"))

;;;
;;; rollback
;;;
CL-USER> (dbi-cp:rollback connection)
; No value
CL-USER> (let* ((query (dbi-cp:prepare connection "select count(*) from person"))
                (result (dbi-cp:execute query)))
           (format T "~A" (dbi-cp:fetch result)))
(count(*) 0)
NIL

Installation

This library is available on Quicklisp.

(ql:quickload :cl-dbi-connection-pool)

Author

Copyright

Copyright (c) 2017 tamura shingo (tamura.shingo@gmail.com)

License

Licensed under the LLGPL License.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Next: , Previous: , Up: Systems   [Contents][Index]

2.1 cl-dbi-connection-pool

Author

tamura shingo

License

LLGPL

Version

0.1

Dependency

dbi-cp (system)

Source

cl-dbi-connection-pool.asd (file)


Previous: , Up: Systems   [Contents][Index]

2.2 dbi-cp

Author

tamura shingo

License

LLGPL

Description

connection pool for CL-DBI

Long Description

# CL-DBI-Connection-Pool - connection pool for CL-DBI

[![Build Status](https://travis-ci.org/tamurashingo/cl-dbi-connection-pool.svg?branch=master)](https://travis-ci.org/tamurashingo/cl-dbi-connection-pool)

This library provides connection pool for CL-DBI.

## Usage

### Create connection pool

make connection pool.

“‘common-lisp
(dbi-cp:make-db-connection-pool driver-name &key database-name username password (initial-size 10) (max-size 10)) ;; => dbi-cp:<dbi-connection-pool> “‘

- driver-name
- ‘:sqlite‘, ‘:mysql‘, ‘:postgresql‘ (same as ‘CL-DBI‘)
- database-name
- database name (same as ‘CL-DBI‘)
- username
- username (same as ‘CL-DBI‘)
- password
- password (same as ‘CL-DBI‘)
- initial-size
- initial number of connections that are created when the pool is started
- max-size
- maximum number of connections

“‘common-lisp
(defparameter *CONNECTION-POOL*
(dbi-cp:make-dbi-connection-pool :mysql :database-name "dbi-cp" :username "root" :password "password"))
“‘

### Get connection

get database connection from connection pool.

“‘common-lisp
(dbi-cp:get-connection connection-pool) ;; => dbi-cp.proxy:<dbi-connection-proxy>
“‘

- connection-pool (dbi-cp:&lt;dbi-connection-pool&gt;)
- connection pool

“‘common-lisp
(setf conn (dbi-cp:get-connection *CONNECTION-POOL*))
“‘

### prepare, execute, fetch ...

#### Prepare

prepare SQL statement.

“‘common-lisp
(dbi-cp:prepare connection sql) ;; => dbi.driver:<dbi-query>
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection
- sql
- SQL statement

this function is based on ‘CL-DBI‘

#### Execute

execute SQL.

“‘common-lisp
(dbi-cp:execute query &rest params) ;; => dbi.driver:<dbi-query>
“‘

- query (dbi.driver:&lt;dbi-query&gt;)
- precompiled query (returned by ‘prepare‘)
- params
- SQL parameters

this function is based on ‘CL-DBI‘

#### Fetch

fetch first row from ‘query‘ which is returned by ‘execute‘.

“‘common-lisp
(dbi-cp:fetch query) ;; => result
“‘

- query (dbi.driver:&lt;dbi-query&gt;)
- returned by ‘execute‘

this function is based on ‘CL-DBI‘

### Fetch all

fetch all ret row from ‘query‘.

“‘common-lisp
(dbi-cp:fetch-all query) ;; => result
“‘

- query (dbi.driver:&lt;dbi-query&gt;)
- returned by ‘execute‘

this function is based on ‘CL-DBI‘

#### row count

return the number of counts modified by last execute INSERT/UPDATE/DELETE query.

“‘common-lisp
(dbi-cp:row-count connection) ;; => number
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection

this function is based on ‘CL-DBI‘

#### do sql

do preparation and execution at once for INSERT, UPDATE, DELETE or DDL.

“‘common-lisp
(dbi-cp:do-sql connection sql &rest params)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection
- sql
- SQL statement
- params
- SQL parameters

this function is based on ‘CL-DBI‘

### Transaction

#### Start transaction

start a transaction.

“‘common-lisp
(dbi-cp:begin-transaction connection)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection

this function is based on ‘CL-DBI‘

#### create transaction block

start a transaction and commit at the end of this block.
if the evaluation ‘body‘ is interrupted, the transaction is rolled back automatically.

“‘common-lisp
(dbi-cp:with-transaction connection &body body)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection
- body
- body

this function is based on ‘CL-DBI‘

#### commit

“‘common-lisp
(dbi-cp:commit connection)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection

this function is based on ‘CL-DBI‘

#### rollback

“‘common-lisp
(dbi-cp:rollback connection)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection

this function is based on ‘CL-DBI‘

#### savepoint

set a named transaction savepoint with a name of ‘identifier‘.

“‘common-lisp
(dbi-cp:savepoint connection identifier)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection
- identifier
- name of transaction savepoint

this function is based on ‘CL-DBI‘

#### rollback savepoint

rollback a transaction to the named savepoint.

“‘common-lisp
(dbi-cp:rollback-savepoint connection &optional identifier)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection
- identifier
- name of transaction savepoint

this function is based on ‘CL-DBI‘

#### release savepoint

remove the named savepoint. no commit or rollback occurs.

“‘common-lisp
(dbi-cp:release-savepoint connection &optional identifier)
“‘

- connection (dbi-cp.proxy:&lt;dbi-connection-proxy&gt;)
- database connection
- identifier
- name of transaction savepoint

this function is based on ‘CL-DBI‘

## Example

“‘common-lisp
;;;
;;; create connection pool
;;;
CL-USER> (defparameter *pool*
(dbi-cp:make-dbi-connection-pool :mysql
:database-name "test"
:username "root"
:password "password"))
*POOL*

;;;
;;; get database connection
;;;
CL-USER> (defparameter connection (dbi-cp:get-connection *pool*))
CONNECTION
CL-USER> connection
#<DBI-CP.PROXY:<DBI-CONNECTION-PROXY> {1002E23973}>

;;;
;;; execute DDL
;;;
CL-USER> (dbi-cp:do-sql connection "create table person (id integer primary key, name varchar(24) not null)")
; No value

;;;
;;; select
;;;
CL-USER> (let* ((query (dbi-cp:prepare connection "select count(*) from person"))
(result (dbi-cp:execute query)))
(format T "~A" (dbi-cp:fetch result)))
(count(*) 0)
NIL

;;;
;;; insert
;;;
CL-USER> (dbi-cp:begin-transaction connection)
; No value

CL-USER> (let* ((query (dbi-cp:prepare connection "insert into person (id, name) values (?, ?)")))
(dbi-cp:execute query 1 "user1")
(dbi-cp:execute query 2 "user2")
(dbi-cp:execute query 3 "user3"))
#<DBD.MYSQL:<DBD-MYSQL-QUERY> {1004B671F3}>

;;;
;;; select
;;;
CL-USER> (let* ((query (dbi-cp:prepare connection "select * from person"))
(result (dbi-cp:execute query)))
(dbi-cp:fetch-all result))
((:|id| 1 :|name| "user1") (:|id| 2 :|name| "user2") (:|id| 3 :|name| "user3"))

;;;
;;; rollback
;;;
CL-USER> (dbi-cp:rollback connection)
; No value
CL-USER> (let* ((query (dbi-cp:prepare connection "select count(*) from person"))
(result (dbi-cp:execute query)))
(format T "~A" (dbi-cp:fetch result)))
(count(*) 0)
NIL
“‘

## Installation

This library is available on Quicklisp.

“‘commonlisp
(ql:quickload :cl-dbi-connection-pool)
“‘

## Author

* tamura shingo (tamura.shingo@gmail.com)

## Copyright

Copyright (c) 2017 tamura shingo (tamura.shingo@gmail.com)

## License

Licensed under the LLGPL License.

Version

0.1

Dependencies
Source

dbi-cp.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 dbi-cp/src

Parent

dbi-cp (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 cl-dbi-connection-pool.asd

Location

cl-dbi-connection-pool.asd

Systems

cl-dbi-connection-pool (system)

Packages

cl-dbi-connection-pool-asd


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 dbi-cp.asd

Location

dbi-cp.asd

Systems

dbi-cp (system)

Packages

dbi-cp-asd


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 dbi-cp/src/dbi-cp.lisp

Dependency

connectionpool.lisp (file)

Parent

src (module)

Location

src/dbi-cp.lisp

Packages

dbi-cp

Internal Definitions

show-connection-pool (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 dbi-cp/src/connectionpool.lisp

Dependencies
Parent

src (module)

Location

src/connectionpool.lisp

Packages

dbi-cp.connectionpool

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 dbi-cp/src/proxy.lisp

Parent

src (module)

Location

src/proxy.lisp

Packages

dbi-cp.proxy

Exported Definitions
Internal Definitions

proxy (macro)


Previous: , Up: Lisp files   [Contents][Index]

4.1.6 dbi-cp/src/error.lisp

Parent

src (module)

Location

src/error.lisp

Packages

dbi-cp.error

Exported Definitions

<dbi-cp-no-connection> (condition)


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 cl-dbi-connection-pool-asd

Source

cl-dbi-connection-pool.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 dbi-cp-asd

Source

dbi-cp.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.3 dbi-cp

Source

dbi-cp.lisp (file)

Nickname

cl-dbi-connection-pool

Use List

common-lisp

Internal Definitions

show-connection-pool (function)


Next: , Previous: , Up: Packages   [Contents][Index]

5.4 dbi-cp.connectionpool

Source

connectionpool.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 dbi-cp.proxy

Source

proxy.lisp (file)

Use List
Exported Definitions
Internal Definitions

proxy (macro)


Previous: , Up: Packages   [Contents][Index]

5.6 dbi-cp.error

Source

error.lisp (file)

Use List

common-lisp

Exported Definitions

<dbi-cp-no-connection> (condition)


Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Functions

Function: make-dbi-connection-pool DRIVER-NAME &rest PARAMS &key DATABASE-NAME USERNAME PASSWORD INITIAL-SIZE MAX-SIZE &allow-other-keys

make connection pool

Example
(make-dbi-connection-pool :mysql :database-name "dbicp" :username "root" :password "password")

Package

dbi-cp.connectionpool

Source

connectionpool.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Generic functions

Generic Function: dbi-connection OBJECT
Generic Function: (setf dbi-connection) NEW-VALUE OBJECT
Package

dbi-cp.proxy

Methods
Method: dbi-connection (<DBI-CONNECTION-PROXY> <dbi-connection-proxy>)

automatically generated reader method

Source

proxy.lisp (file)

Method: (setf dbi-connection) NEW-VALUE (<DBI-CONNECTION-PROXY> <dbi-connection-proxy>)

automatically generated writer method

Source

proxy.lisp (file)

Generic Function: disconnect-fn OBJECT
Generic Function: (setf disconnect-fn) NEW-VALUE OBJECT
Package

dbi-cp.proxy

Methods
Method: disconnect-fn (<DBI-CONNECTION-PROXY> <dbi-connection-proxy>)

automatically generated reader method

Source

proxy.lisp (file)

Method: (setf disconnect-fn) NEW-VALUE (<DBI-CONNECTION-PROXY> <dbi-connection-proxy>)

automatically generated writer method

Source

proxy.lisp (file)

Generic Function: get-connection CONN
Package

dbi-cp.connectionpool

Methods
Method: get-connection (CONN <dbi-connection-pool>)

get <dbi-connection-proxy> from connection pool

Source

connectionpool.lisp (file)

Generic Function: shutdown CONN
Package

dbi-cp.connectionpool

Methods
Method: shutdown (CONN <dbi-connection-pool>)

disconnect all connections

Source

connectionpool.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Conditions

Condition: <dbi-cp-no-connection> ()

Exception raised when no connection found on connection pool

Package

dbi-cp.error

Source

error.lisp (file)

Direct superclasses

simple-error (condition)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Classes

Class: <dbi-connection-pool> ()
Package

dbi-cp.connectionpool

Source

connectionpool.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: pool

array of <pooled-connection>

Type

array

Initargs

:pool

Slot: connect-fn

function what connecto to database

Type

function

Initargs

:connect-fn

Class: <dbi-connection-proxy> ()
Package

dbi-cp.proxy

Source

proxy.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • rollback (method)
  • commit (method)
  • begin-transaction (method)
  • row-count (method)
  • do-sql (method)
  • prepare (method)
  • disconnect (method)
  • disconnect-fn (method)
  • disconnect-fn (method)
  • dbi-connection (method)
  • dbi-connection (method)
Direct slots
Slot: dbi-connection
Type

dbi-cp.proxy::<dbi-connection>

Initargs

:dbi-connection

Readers

dbi-connection (generic function)

Writers

(setf dbi-connection) (generic function)

Slot: in-transaction
Initform

0

Slot: disconnect-fn
Type

function

Initargs

:disconnect-fn

Readers

disconnect-fn (generic function)

Writers

(setf disconnect-fn) (generic function)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Macros

Macro: proxy DEF-FORM

just a mark

Package

dbi-cp.proxy

Source

proxy.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Functions

Function: %make-connection! POOLED-CONNECTION CONNECT-FN

connect database and set parameters

Package

dbi-cp.connectionpool

Source

connectionpool.lisp (file)

Function: %make-connection-array! DBI-CONNECTION-POOL CONNECTION-COUNT

create connection array

Package

dbi-cp.connectionpool

Source

connectionpool.lisp (file)

Function: %make-pooledconnection-array! CP-ARRAY ARRAY-SIZE

create <pooled-connection> instance

Package

dbi-cp.connectionpool

Source

connectionpool.lisp (file)

Function: show-connection-pool CONNECTION-POOL

for debug

Package

dbi-cp

Source

dbi-cp.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Generic functions

Generic Function: connect-p OBJECT
Generic Function: (setf connect-p) NEW-VALUE OBJECT
Package

dbi-cp.connectionpool

Methods
Method: connect-p (<POOLED-CONNECTION> <pooled-connection>)
Method: (setf connect-p) NEW-VALUE (<POOLED-CONNECTION> <pooled-connection>)

T when already connected database

Source

connectionpool.lisp (file)

Generic Function: dbi-connection-proxy OBJECT
Generic Function: (setf dbi-connection-proxy) NEW-VALUE OBJECT
Package

dbi-cp.connectionpool

Methods
Method: dbi-connection-proxy (<POOLED-CONNECTION> <pooled-connection>)

automatically generated reader method

Source

connectionpool.lisp (file)

Method: (setf dbi-connection-proxy) NEW-VALUE (<POOLED-CONNECTION> <pooled-connection>)

automatically generated writer method

Source

connectionpool.lisp (file)

Generic Function: semaphore OBJECT
Generic Function: (setf semaphore) NEW-VALUE OBJECT
Package

dbi-cp.connectionpool

Methods
Method: semaphore (<POOLED-CONNECTION> <pooled-connection>)

automatically generated reader method

Source

connectionpool.lisp (file)

Method: (setf semaphore) NEW-VALUE (<POOLED-CONNECTION> <pooled-connection>)

automatically generated writer method

Source

connectionpool.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Classes

Class: <pooled-connection> ()
Package

dbi-cp.connectionpool

Source

connectionpool.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: connect-p

T when already connected database

Type

boolean

Readers

connect-p (generic function)

Writers

(setf connect-p) (generic function)

Slot: semaphore
Initform

(bt-semaphore:make-semaphore :count 1)

Readers

semaphore (generic function)

Writers

(setf semaphore) (generic function)

Slot: dbi-connection-proxy
Type

dbi-cp.proxy:<dbi-connection-proxy>

Initargs

:dbi-connection-proxy

Readers

dbi-connection-proxy (generic function)

Writers

(setf dbi-connection-proxy) (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   D   F   L   M  
Index Entry  Section

C
cl-dbi-connection-pool.asd: The cl-dbi-connection-pool<dot>asd file

D
dbi-cp.asd: The dbi-cp<dot>asd file
dbi-cp/src: The dbi-cp/src module
dbi-cp/src/connectionpool.lisp: The dbi-cp/src/connectionpool<dot>lisp file
dbi-cp/src/dbi-cp.lisp: The dbi-cp/src/dbi-cp<dot>lisp file
dbi-cp/src/error.lisp: The dbi-cp/src/error<dot>lisp file
dbi-cp/src/proxy.lisp: The dbi-cp/src/proxy<dot>lisp file

F
File, Lisp, cl-dbi-connection-pool.asd: The cl-dbi-connection-pool<dot>asd file
File, Lisp, dbi-cp.asd: The dbi-cp<dot>asd file
File, Lisp, dbi-cp/src/connectionpool.lisp: The dbi-cp/src/connectionpool<dot>lisp file
File, Lisp, dbi-cp/src/dbi-cp.lisp: The dbi-cp/src/dbi-cp<dot>lisp file
File, Lisp, dbi-cp/src/error.lisp: The dbi-cp/src/error<dot>lisp file
File, Lisp, dbi-cp/src/proxy.lisp: The dbi-cp/src/proxy<dot>lisp file

L
Lisp File, cl-dbi-connection-pool.asd: The cl-dbi-connection-pool<dot>asd file
Lisp File, dbi-cp.asd: The dbi-cp<dot>asd file
Lisp File, dbi-cp/src/connectionpool.lisp: The dbi-cp/src/connectionpool<dot>lisp file
Lisp File, dbi-cp/src/dbi-cp.lisp: The dbi-cp/src/dbi-cp<dot>lisp file
Lisp File, dbi-cp/src/error.lisp: The dbi-cp/src/error<dot>lisp file
Lisp File, dbi-cp/src/proxy.lisp: The dbi-cp/src/proxy<dot>lisp file

M
Module, dbi-cp/src: The dbi-cp/src module

Jump to:   C   D   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
C   D   F   G   M   P   S  
Index Entry  Section

%
%make-connection!: Internal functions
%make-connection-array!: Internal functions
%make-pooledconnection-array!: Internal functions

(
(setf connect-p): Internal generic functions
(setf connect-p): Internal generic functions
(setf dbi-connection): Exported generic functions
(setf dbi-connection): Exported generic functions
(setf dbi-connection-proxy): Internal generic functions
(setf dbi-connection-proxy): Internal generic functions
(setf disconnect-fn): Exported generic functions
(setf disconnect-fn): Exported generic functions
(setf semaphore): Internal generic functions
(setf semaphore): Internal generic functions

C
connect-p: Internal generic functions
connect-p: Internal generic functions

D
dbi-connection: Exported generic functions
dbi-connection: Exported generic functions
dbi-connection-proxy: Internal generic functions
dbi-connection-proxy: Internal generic functions
disconnect-fn: Exported generic functions
disconnect-fn: Exported generic functions

F
Function, %make-connection!: Internal functions
Function, %make-connection-array!: Internal functions
Function, %make-pooledconnection-array!: Internal functions
Function, make-dbi-connection-pool: Exported functions
Function, show-connection-pool: Internal functions

G
Generic Function, (setf connect-p): Internal generic functions
Generic Function, (setf dbi-connection): Exported generic functions
Generic Function, (setf dbi-connection-proxy): Internal generic functions
Generic Function, (setf disconnect-fn): Exported generic functions
Generic Function, (setf semaphore): Internal generic functions
Generic Function, connect-p: Internal generic functions
Generic Function, dbi-connection: Exported generic functions
Generic Function, dbi-connection-proxy: Internal generic functions
Generic Function, disconnect-fn: Exported generic functions
Generic Function, get-connection: Exported generic functions
Generic Function, semaphore: Internal generic functions
Generic Function, shutdown: Exported generic functions
get-connection: Exported generic functions
get-connection: Exported generic functions

M
Macro, proxy: Internal macros
make-dbi-connection-pool: Exported functions
Method, (setf connect-p): Internal generic functions
Method, (setf dbi-connection): Exported generic functions
Method, (setf dbi-connection-proxy): Internal generic functions
Method, (setf disconnect-fn): Exported generic functions
Method, (setf semaphore): Internal generic functions
Method, connect-p: Internal generic functions
Method, dbi-connection: Exported generic functions
Method, dbi-connection-proxy: Internal generic functions
Method, disconnect-fn: Exported generic functions
Method, get-connection: Exported generic functions
Method, semaphore: Internal generic functions
Method, shutdown: Exported generic functions

P
proxy: Internal macros

S
semaphore: Internal generic functions
semaphore: Internal generic functions
show-connection-pool: Internal functions
shutdown: Exported generic functions
shutdown: Exported generic functions

Jump to:   %   (  
C   D   F   G   M   P   S  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   C   D   I   P   S  
Index Entry  Section

C
connect-fn: Exported classes
connect-p: Internal classes

D
dbi-connection: Exported classes
dbi-connection-proxy: Internal classes
disconnect-fn: Exported classes

I
in-transaction: Exported classes

P
pool: Exported classes

S
semaphore: Internal classes
Slot, connect-fn: Exported classes
Slot, connect-p: Internal classes
Slot, dbi-connection: Exported classes
Slot, dbi-connection-proxy: Internal classes
Slot, disconnect-fn: Exported classes
Slot, in-transaction: Exported classes
Slot, pool: Exported classes
Slot, semaphore: Internal classes

Jump to:   C   D   I   P   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   <  
C   D   P   S  
Index Entry  Section

<
<dbi-connection-pool>: Exported classes
<dbi-connection-proxy>: Exported classes
<dbi-cp-no-connection>: Exported conditions
<pooled-connection>: Internal classes

C
cl-dbi-connection-pool: The cl-dbi-connection-pool system
cl-dbi-connection-pool-asd: The cl-dbi-connection-pool-asd package
Class, <dbi-connection-pool>: Exported classes
Class, <dbi-connection-proxy>: Exported classes
Class, <pooled-connection>: Internal classes
Condition, <dbi-cp-no-connection>: Exported conditions

D
dbi-cp: The dbi-cp system
dbi-cp: The dbi-cp package
dbi-cp-asd: The dbi-cp-asd package
dbi-cp.connectionpool: The dbi-cp<dot>connectionpool package
dbi-cp.error: The dbi-cp<dot>error package
dbi-cp.proxy: The dbi-cp<dot>proxy package

P
Package, cl-dbi-connection-pool-asd: The cl-dbi-connection-pool-asd package
Package, dbi-cp: The dbi-cp package
Package, dbi-cp-asd: The dbi-cp-asd package
Package, dbi-cp.connectionpool: The dbi-cp<dot>connectionpool package
Package, dbi-cp.error: The dbi-cp<dot>error package
Package, dbi-cp.proxy: The dbi-cp<dot>proxy package

S
System, cl-dbi-connection-pool: The cl-dbi-connection-pool system
System, dbi-cp: The dbi-cp system

Jump to:   <  
C   D   P   S