Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class RoutingTable
Re-export
import { RoutingTable } from "https://deno.land/x/neo4j_lite_client@4.4.6/bolt-connection/rediscovery/index.js";

The routing table object used to determine the role of the servers in the driver.

Constructors

new
RoutingTable(unnamed 0?)

Methods

forget(address)
forgetRouter(address)
forgetWriter(address)
isExpiredFor(duration)

Check if this routing table is expired for specified amount of duration

isStaleFor(accessMode)

Check if this routing table is fresh to perform the required operation.

Static Methods

fromRawRoutingTable(
database,
routerAddress,
rawRoutingTable,
)

Create a valid routing table from a raw object