aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/hostinfo/Distributor.java
blob: c54ad1af51fc417d981a0aa0539ed03e22fe0d8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core.hostinfo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * Class for handling Distributor part of HostInfo.
 * 
 * @author Haakon Dybdahl
 */
public class Distributor {

    @JsonProperty("storage-nodes")
    private List<StorageNode> storageNodes = new ArrayList<>();

    public List<StorageNode> getStorageNodes() { return storageNodes; }

}