public interface DeploymentNodeSelector
DeploymentNodeSelectorinvolves load balancing calls to multiple nodes which can all handle the same deployment. This allows the application to have a deterministic node selection policy while dealing with multiple nodes with same deployment.
|Modifier and Type||Method and Description|
Selects and returns a node from among the
String selectNode(String eligibleNodes, String appName, String moduleName, String distinctName)
eligibleNodesto handle the invocation on a deployment represented by the passed
distinctNamecombination. Implementations of this method must not return null or any other node name which isn't in the
eligibleNodes- The eligible nodes which can handle the deployment. Will not be empty.
appName- The app name of the deployment
moduleName- The module name of the deployment
distinctName- The distinct name of the deployment
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.