Uses of Interface
org.jboss.ejb.client.ClusterNodeSelector
-
Packages that use ClusterNodeSelector Package Description org.jboss.ejb.client org.jboss.ejb.client.legacy -
-
Uses of ClusterNodeSelector in org.jboss.ejb.client
Fields in org.jboss.ejb.client declared as ClusterNodeSelector Modifier and Type Field Description static ClusterNodeSelectorClusterNodeSelector. DEFAULTA simple default selector which usessimpleConnectionThresholdRandomSelector(int)with a minimum of 5 connections.static ClusterNodeSelectorClusterNodeSelector. DEFAULT_PREFER_LOCALA deployment node selector which check the server name if inside and prefer it if available for selection.static ClusterNodeSelectorClusterNodeSelector. FIRST_AVAILABLEAlways use the first available node, regardless of whether it is connected.static ClusterNodeSelectorClusterNodeSelector. FIRST_CONNECTEDAlways use the first connected node, or fall back to the first available node if none are connected.static ClusterNodeSelectorClusterNodeSelector. RANDOMUse a random available node, regardless of whether it is connected.static ClusterNodeSelectorClusterNodeSelector. RANDOM_CONNECTEDAlways use a random connected node, or fall back to a random unconnected node.static ClusterNodeSelectorClusterNodeSelector. RANDOM_PREFER_LOCALstatic ClusterNodeSelectorClusterNodeSelector. ROUND_ROBINUse available nodes in a round-robin fashion, regardless of whether it is connected.Methods in org.jboss.ejb.client that return ClusterNodeSelector Modifier and Type Method Description static ClusterNodeSelectorClusterNodeSelector. firstConnected(ClusterNodeSelector fallback)Always try to use the first connected node.ClusterNodeSelectorEJBClientCluster. getClusterNodeSelector()Get the cluster node selector to use.static ClusterNodeSelectorClusterNodeSelector. minimumConnectionThreshold(int minimum, ClusterNodeSelector unmet, ClusterNodeSelector met)Determine the action to take based on a threshold of minimum connections.static ClusterNodeSelectorClusterNodeSelector. simpleConnectionThresholdRandomSelector(int minimum)A simple threshold-based random selector.static ClusterNodeSelectorClusterNodeSelector. useRandomConnectedNode(ClusterNodeSelector fallback)Always try to use a random connected node.static ClusterNodeSelectorClusterNodeSelector. useRandomUnconnectedNode(ClusterNodeSelector fallback)Always try to use an unconnected node.static ClusterNodeSelectorClusterNodeSelector. useRoundRobinConnectedNode(ClusterNodeSelector fallback)Always try to round-robin among connected nodes.static ClusterNodeSelectorClusterNodeSelector. useRoundRobinUnconnectedNode(ClusterNodeSelector fallback)Always try to use an unconnected node in a round-robin fashion.Methods in org.jboss.ejb.client with parameters of type ClusterNodeSelector Modifier and Type Method Description static ClusterNodeSelectorClusterNodeSelector. firstConnected(ClusterNodeSelector fallback)Always try to use the first connected node.static ClusterNodeSelectorClusterNodeSelector. minimumConnectionThreshold(int minimum, ClusterNodeSelector unmet, ClusterNodeSelector met)Determine the action to take based on a threshold of minimum connections.EJBClientCluster.BuilderEJBClientCluster.Builder. setClusterNodeSelector(ClusterNodeSelector clusterNodeSelector)EJBClientContext.BuilderEJBClientContext.Builder. setClusterNodeSelector(ClusterNodeSelector clusterNodeSelector)static ClusterNodeSelectorClusterNodeSelector. useRandomConnectedNode(ClusterNodeSelector fallback)Always try to use a random connected node.static ClusterNodeSelectorClusterNodeSelector. useRandomUnconnectedNode(ClusterNodeSelector fallback)Always try to use an unconnected node.static ClusterNodeSelectorClusterNodeSelector. useRoundRobinConnectedNode(ClusterNodeSelector fallback)Always try to round-robin among connected nodes.static ClusterNodeSelectorClusterNodeSelector. useRoundRobinUnconnectedNode(ClusterNodeSelector fallback)Always try to use an unconnected node in a round-robin fashion. -
Uses of ClusterNodeSelector in org.jboss.ejb.client.legacy
Methods in org.jboss.ejb.client.legacy that return types with arguments of type ClusterNodeSelector Modifier and Type Method Description org.wildfly.common.function.ExceptionSupplier<ClusterNodeSelector,ReflectiveOperationException>JBossEJBProperties.ClusterConfiguration. getClusterNodeSelectorSupplier()
-