Uses of Class
com.yahoo.search.cluster.ClusterMonitor
Packages that use 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
Methods in com.yahoo.search.cluster that return ClusterMonitorModifier and TypeMethodDescriptionClusterSearcher.getMonitor()Returns the monitor of these nodesMethods in com.yahoo.search.cluster with parameters of type ClusterMonitorModifier and TypeMethodDescriptionfinal voidClusterSearcher.ping(ClusterMonitor<T> clusterMonitor, T p, Executor executor) Pinging a node, called from ClusterMonitorvoidNodeManager.ping(ClusterMonitor<T> clusterMonitor, T node, Executor executor) Called when a node should be pinged. -
Uses of ClusterMonitor in com.yahoo.search.dispatch.rpc
Methods in com.yahoo.search.dispatch.rpc with parameters of type ClusterMonitorModifier and TypeMethodDescriptionRpcPingFactory.createPinger(Node node, ClusterMonitor<Node> monitor, PongHandler pongHandler) Constructors in com.yahoo.search.dispatch.rpc with parameters of type ClusterMonitorModifierConstructorDescriptionRpcPing(Node node, ClusterMonitor<Node> clusterMonitor, RpcConnectionPool connectionPool, PongHandler pongHandler, com.yahoo.compress.Compressor compressor) -
Uses of ClusterMonitor in com.yahoo.search.dispatch.searchcluster
Methods in com.yahoo.search.dispatch.searchcluster with parameters of type ClusterMonitorModifier and TypeMethodDescriptionvoidSearchCluster.addMonitoring(ClusterMonitor<Node> clusterMonitor) PingFactory.createPinger(Node node, ClusterMonitor<Node> monitor, PongHandler pongHandler) voidSearchCluster.ping(ClusterMonitor<Node> clusterMonitor, Node node, Executor executor) Used by the cluster monitor to manage node statusvoidSearchCluster.updateNodes(AvailabilityPolicy availabilityPolicy, Collection<Node> newNodes, ClusterMonitor<Node> monitor) Sets the new nodes to monitor to be the new nodes, but keep any existing node instances which are equal the new ones.