blob: 24e3d0de97730b99f28336042c8efbb7f56e2ecd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core;
import com.yahoo.vdslib.distribution.Distribution;
import com.yahoo.vdslib.state.Node;
import com.yahoo.vdslib.state.NodeType;
/**
* Class encapsulating what the Cluster Controller knows about a distributor node. Most of the information is
* common between Storage- and Distributor- nodes, and stored in the base class NodeInfo.
*
* @author hakonhall
*/
public class DistributorNodeInfo extends NodeInfo {
public DistributorNodeInfo(ContentCluster cluster, int index, String rpcAddress, Distribution distribution) {
super(cluster, new Node(NodeType.DISTRIBUTOR, index), false, rpcAddress, distribution);
}
}
|