- All Known Implementing Classes:
MultiDatabasesRoutingProcedureRunner
,RouteMessageRoutingProcedureRunner
,SingleDatabaseRoutingProcedureRunner
public interface RoutingProcedureRunner
Interface which defines the standard way to get the routing table
-
Method Summary
Modifier and TypeMethodDescriptionrun
(Connection connection, org.neo4j.driver.internal.DatabaseName databaseName, Set<Bookmark> bookmarks, String impersonatedUser) Run the calls to the server
-
Method Details
-
run
CompletionStage<RoutingProcedureResponse> run(Connection connection, org.neo4j.driver.internal.DatabaseName databaseName, Set<Bookmark> bookmarks, String impersonatedUser) Run the calls to the server- Parameters:
connection
- The connection which will be used to call the serverdatabaseName
- The database namebookmarks
- The bookmarks used to query the routing informationimpersonatedUser
- The impersonated user, should benull
for non-impersonated requests- Returns:
- The routing table
-