summaryrefslogtreecommitdiffstats
path: root/application-model/src/main/scala/com/yahoo/vespa/applicationmodel/ServiceCluster.scala
blob: e4b538a8a26ea47115c66e0c33da7c7032e770e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.applicationmodel

/**
 * Represents a collection of service instances that together make up a service with a single cluster id.
 *
 * @author <a href="mailto:bakksjo@yahoo-inc.com">Oyvind Bakksjo</a>
 */
case class ServiceCluster[S](
  clusterId: ClusterId,
  serviceType: ServiceType,
  serviceInstances: java.util.Set[ServiceInstance[S]])