blob: 1cafdd1ed0f54465d4a7001a666dc2401ec34e56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2016 Yahoo Inc. 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 storage node. Most of the information is
* common between Storage- and Distributor- nodes, and stored in the base class NodeInfo.
*
* @author hakonhall
*/
public class StorageNodeInfo extends NodeInfo {
public StorageNodeInfo(ContentCluster cluster, int index, boolean configuredRetired, String rpcAddress, Distribution distribution) {
super(cluster, new Node(NodeType.STORAGE, index), configuredRetired, rpcAddress, distribution);
}
}
|