Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/neo4j_lite_client/bolt-connection/pool/index.js>Pool

Unofficial Neo4j Driver for Deno
Latest
class Pool
Re-export
import { Pool } from "https://deno.land/x/neo4j_lite_client@4.4.6/bolt-connection/pool/index.js";

Constructors

new
Pool(unnamed 0?)

Methods

_acquire(address)
_release(
poolState,
address,
resource,
)
acquire(address)

Acquire and idle resource fom the pool or create a new one.

Get count of active (checked out of the pool) resources for the given key.

Destroy all idle resources in this pool.

has(address)

Check if this pool contains resources for the given address.

keepAll(addresses)

Keep the idle resources for the provided addresses and purge the rest.

purge(address)

Destroy all idle resources for the given address.