Package com.yahoo.vespa.model
Class Affinity
- java.lang.Object
-
- com.yahoo.vespa.model.Affinity
-
public class Affinity extends java.lang.Object
Represents a set of affinities that can be expressed by a service. Currently only supports CPU socket affinity.- Since:
- 5.12
- Author:
- Ulf Lilleengen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Affinity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cpuSocket()
static Affinity
none()
-
-
-
Method Detail
-
cpuSocket
public int cpuSocket()
-
none
public static Affinity none()
-
-