Class RouteMessageRoutingProcedureRunner

java.lang.Object
org.neo4j.driver.internal.cluster.RouteMessageRoutingProcedureRunner
All Implemented Interfaces:
RoutingProcedureRunner

public class RouteMessageRoutingProcedureRunner extends Object implements RoutingProcedureRunner
This implementation of the RoutingProcedureRunner access the routing procedure through the bolt's ROUTE message.
  • Constructor Details

  • Method Details

    • run

      public CompletionStage<RoutingProcedureResponse> run(Connection connection, org.neo4j.driver.internal.DatabaseName databaseName, Set<Bookmark> bookmarks, String impersonatedUser)
      Description copied from interface: RoutingProcedureRunner
      Run the calls to the server
      Specified by:
      run in interface RoutingProcedureRunner
      Parameters:
      connection - The connection which will be used to call the server
      databaseName - The database name
      bookmarks - The bookmarks used to query the routing information
      impersonatedUser - The impersonated user, should be null for non-impersonated requests
      Returns:
      The routing table