Uses of Class
com.yahoo.search.cluster.ClusterMonitor
Package
Description
Standard searchers to compose in source search chains (those containing searchers specific for one source and
which ends with a call to some provider) which calls a cluster of provider nodes.
-
Uses of ClusterMonitor in com.yahoo.search.cluster
Modifier and TypeMethodDescriptionClusterSearcher.getMonitor()
Returns the monitor of these nodesModifier and TypeMethodDescriptionfinal void
ClusterSearcher.ping
(ClusterMonitor<T> clusterMonitor, T p, Executor executor) Pinging a node, called from ClusterMonitorvoid
NodeManager.ping
(ClusterMonitor<T> clusterMonitor, T node, Executor executor) Called when a node should be pinged. -
Uses of ClusterMonitor in com.yahoo.search.dispatch.rpc
Modifier and TypeMethodDescriptionRpcPingFactory.createPinger
(Node node, ClusterMonitor<Node> monitor, PongHandler pongHandler) ModifierConstructorDescriptionRpcPing
(Node node, ClusterMonitor<Node> clusterMonitor, RpcConnectionPool connectionPool, PongHandler pongHandler, com.yahoo.compress.Compressor compressor) -
Uses of ClusterMonitor in com.yahoo.search.dispatch.searchcluster
Modifier and TypeMethodDescriptionvoid
SearchCluster.addMonitoring
(ClusterMonitor<Node> clusterMonitor) PingFactory.createPinger
(Node node, ClusterMonitor<Node> monitor, PongHandler pongHandler) void
SearchCluster.ping
(ClusterMonitor<Node> clusterMonitor, Node node, Executor executor) Used by the cluster monitor to manage node statusvoid
SearchCluster.updateNodes
(Collection<Node> newNodes, ClusterMonitor<Node> monitor, double minActivedocsPercentage) Sets the new nodes to monitor to be the new nodes, but keep any existing node instances which equal the new ones.