blob: 95cebf7ea787134c512611185e086ab36a70a77b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.routing.rotation;
/**
* ID of a global rotation.
*
* @author mpolden
*/
public record RotationId(String id) {
/** Rotation ID, e.g. rotation-42.vespa.global.routing */
public String asString() {
return id;
}
@Override
public String toString() {
return "rotation ID " + id;
}
}
|