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

Constructors

new
RoutingConnectionProvider(unnamed 0)

Methods

_acquireConnectionToServer(
address,
serverName,
routingTable,
)
_applyRoutingTableIfPossible(
currentRoutingTable,
newRoutingTable,
onDatabaseNameResolved,
)
_createSessionForRediscovery(
routerAddress,
bookmark,
impersonatedUser,
)
_fetchRoutingTable(
routerAddresses,
routingTable,
bookmark,
impersonatedUser,
)
_fetchRoutingTableFromKnownRoutersFallbackToSeedRouter(
knownRouters,
currentRoutingTable,
bookmark,
impersonatedUser,
onDatabaseNameResolved,
)
_fetchRoutingTableFromSeedRouterFallbackToKnownRouters(
knownRouters,
currentRoutingTable,
bookmark,
impersonatedUser,
onDatabaseNameResolved,
)
_fetchRoutingTableUsingKnownRouters(
knownRouters,
currentRoutingTable,
bookmark,
impersonatedUser,
)
_fetchRoutingTableUsingSeedRouter(
seenRouters,
seedRouter,
routingTable,
bookmark,
impersonatedUser,
)
_freshRoutingTable(unnamed 0?)
_handleAuthorizationExpired(
error,
address,
database,
)
_handleUnavailability(
error,
address,
database,
)
_handleWriteFailure(
error,
address,
database,
)
_hasProtocolVersion(versionPredicate)
_refreshRoutingTable(
currentRoutingTable,
bookmark,
impersonatedUser,
onDatabaseNameResolved,
)
_resolveSeedRouter(seedRouter)
_updateRoutingTable(newRoutingTable, onDatabaseNameResolved)
acquireConnection(unnamed 0?)

See ConnectionProvider for more information about this method and its arguments.

forget(address, database)
forgetWriter(address, database)

Static Methods

_forgetRouter(
routingTable,
routersArray,
routerIndex,
)