Package com.yahoo.vespa.model.content
Class DispatchSpec
- java.lang.Object
-
- com.yahoo.vespa.model.content.DispatchSpec
-
public class DispatchSpec extends Object
Represents the dispatch setup for a content cluster. This EITHER has a number of dispatch groups OR a an explicit list of groups.- Author:
- geirst
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DispatchSpec.Builder
static class
DispatchSpec.Group
A dispatch group with a list of nodes contained in that group.static class
DispatchSpec.Node
Reference to a node which is contained in a dispatch group.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DispatchSpec.Group>
getGroups()
Integer
getNumDispatchGroups()
boolean
valid()
-
-
-
Method Detail
-
getNumDispatchGroups
public Integer getNumDispatchGroups()
-
getGroups
public List<DispatchSpec.Group> getGroups()
-
valid
public boolean valid()
-
-