- All Known Implementing Classes:
RediscoveryImpl
public interface Rediscovery
Provides cluster composition lookup capabilities and initial router address resolution.
-
Method Summary
Modifier and TypeMethodDescriptionlookupClusterComposition(RoutingTable routingTable, ConnectionPool connectionPool, Set<Bookmark> bookmarks, String impersonatedUser) Fetches cluster composition using the provided routing table.List<org.neo4j.driver.internal.BoltServerAddress>resolve()
-
Method Details
-
lookupClusterComposition
CompletionStage<ClusterCompositionLookupResult> lookupClusterComposition(RoutingTable routingTable, ConnectionPool connectionPool, Set<Bookmark> bookmarks, String impersonatedUser) Fetches cluster composition using the provided routing table.Implementation must be thread safe to be called with distinct routing tables concurrently. The routing table instance may be modified.
- Parameters:
routingTable- the routing table for cluster composition lookupconnectionPool- the connection pool for connection acquisitionbookmarks- the bookmarks that are presented to the serverimpersonatedUser- the impersonated user for cluster composition lookup, should benullfor non-impersonated requests- Returns:
- cluster composition lookup result
-
resolve
- Throws:
UnknownHostException
-