public class InfinispanRouteLocator extends Object implements RouteLocator
DistributionManager to determine the best node (i.e. the primary lock owner) to handle a given session.
The Address is then converted to a route using a Registry, which maps the route identifier per node.| Constructor and Description |
|---|
InfinispanRouteLocator(InfinispanRouteLocatorConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
String |
locate(String sessionId)
Returns the route identifier most appropriate for the specified session identifier.
|
public InfinispanRouteLocator(InfinispanRouteLocatorConfiguration config)
public String locate(String sessionId)
RouteLocatorlocate in interface RouteLocatorsessionId - a unique session identifierCopyright © 2023 JBoss by Red Hat. All rights reserved.