java.lang.Object
org.neo4j.driver.internal.messaging.request.RouteMessage
- All Implemented Interfaces:
Message
From the application point of view it is not interesting to know about the role a member plays in the cluster. Instead, the application needs to know which
instance can provide the wanted service.
This message is used to fetch this routing information.
-
Field Details
-
SIGNATURE
public static final byte SIGNATURE- See Also:
-
-
Constructor Details
-
RouteMessage
public RouteMessage(Map<String, Value> routingContext, Set<Bookmark> bookmarks, String databaseName, String impersonatedUser) Constructor- Parameters:
routingContext- The routing context used to define the routing table. Multi-datacenter deployments is one of its use cases.bookmarks- The bookmarks used when getting the routing table.databaseName- The name of the database to get the routing table for.impersonatedUser- The name of the impersonated user to get the routing table for, should benullfor non-impersonated requests
-
-
Method Details