Uses of Interface
org.jboss.ejb.client.ClusterNodeSelector
Packages that use ClusterNodeSelector
-
Uses of ClusterNodeSelector in org.jboss.ejb.client
Fields in org.jboss.ejb.client declared as ClusterNodeSelectorModifier and TypeFieldDescriptionstatic final ClusterNodeSelectorClusterNodeSelector.DEFAULTA simple default selector which usessimpleConnectionThresholdRandomSelector(int)with a minimum of 5 connections.static final ClusterNodeSelectorClusterNodeSelector.DEFAULT_PREFER_LOCALA deployment node selector which check the server name if inside and prefer it if available for selection.static final ClusterNodeSelectorClusterNodeSelector.FIRST_AVAILABLEAlways use the first available node, regardless of whether it is connected.static final ClusterNodeSelectorClusterNodeSelector.FIRST_CONNECTEDAlways use the first connected node, or fall back to the first available node if none are connected.static final ClusterNodeSelectorClusterNodeSelector.RANDOMUse a random available node, regardless of whether it is connected.static final ClusterNodeSelectorClusterNodeSelector.RANDOM_CONNECTEDAlways use a random connected node, or fall back to a random unconnected node.static final ClusterNodeSelectorClusterNodeSelector.RANDOM_PREFER_LOCALstatic final ClusterNodeSelectorClusterNodeSelector.ROUND_ROBINUse available nodes in a round-robin fashion, regardless of whether it is connected.Methods in org.jboss.ejb.client that return ClusterNodeSelectorModifier and TypeMethodDescriptionstatic ClusterNodeSelectorClusterNodeSelector.firstConnected(ClusterNodeSelector fallback) Always try to use the first connected node.EJBClientCluster.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 ClusterNodeSelectorModifier and TypeMethodDescriptionstatic 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.Builder.setClusterNodeSelector(ClusterNodeSelector clusterNodeSelector) EJBClientContext.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 ClusterNodeSelectorModifier and TypeMethodDescriptionorg.wildfly.common.function.ExceptionSupplier<ClusterNodeSelector,ReflectiveOperationException> JBossEJBProperties.ClusterConfiguration.getClusterNodeSelectorSupplier()