summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/hostinfo/Distributor.java
blob: 5c1c5980ebcf906dbeb48dddb8cf0855cfef1277 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017 Yahoo Holdings. 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 dybis
  */
public class Distributor {

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

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