Function | Package: net.jlinker | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## jpool-slot

Arguments: slot &optional pool

This function returns information about the current connection pool.

The pool argument is reserved for internal use and must not be specified.

The value returned depends on the slot argument:

- `:state`: returns a keyword describing the state: `:ready` - the connection pool is ready and operational; `:delayed` - `:delay` was specified in the call to jlinker-init and jstart-connection-pool has not yet been called; `:initializing` - the connection pool is under construction; `:jlinker-init` - jlinker-init is still running and in a partial state.
- `:dynamic`: returns `t` if the connection pool is dynamic, i.e. the minimum and maximum port specifications are different. A connection pool manager thread is running in Lisp. Ports and server threads may come and go. Returns `nil` is the pool is static.
- `:pool-ports-to-java`: returns the number of Lisp ports to Java in the connection pool. Does not include the initial port to Java.
- `:pool-ports-to-lisp`: returns the number of Java ports to Lisp in the connection pool. Does not include the initial port to Lisp.
- `:lisp-ports-to-java`: returns the total number of Lisp ports to Java.
- `:java-ports-to-lisp`: returns the total number of Java portd to Lisp.
- `:min-ports-to-java`: returns the minimum number of Lisp ports to Java in the effective connection pool specification.
- `:max-ports-to-java`: returns the maximum number of Lisp ports to Java in the effective connection pool specification.
- `:min-ports-to-lisp`: returns the minimum number of Java ports to Lisp in the effective connection pool specification.
- :max-ports-to-lisp: returns the maximum number of Java ports to Lisp in the effective connection pool specification.
- `:lisp-port-idle-time`: returns the idle time for Lisp ports to Java in the effective connection pool specification.
- `:java-port-idle-time`: returns the idle time for Java ports to Lisp in the effective connection pool specification.

See jlinker.htm for more information on the jLinker facility.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version