public interface DeploymentNodeSelector
DeploymentNodeSelector
involves 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 |
---|---|
String |
selectNode(String[] eligibleNodes,
String appName,
String moduleName,
String distinctName)
Selects and returns a node from among the
eligibleNodes to handle the invocation on a deployment
represented by the passed appName , moduleName and distinctName combination. |
String selectNode(String[] eligibleNodes, String appName, String moduleName, String distinctName)
eligibleNodes
to handle the invocation on a deployment
represented by the passed appName
, moduleName
and distinctName
combination.
Implementations of this method must not return null or any other node name which isn't in the
eligibleNodes
eligibleNodes
- The eligible nodes which can handle the deployment. Will not be empty.appName
- The app name of the deploymentmoduleName
- The module name of the deploymentdistinctName
- The distinct name of the deploymentCopyright © 2016 JBoss by Red Hat. All rights reserved.