Toshio Koide
Committed by Gerrit Code Review

Add annotation key definitions for bandwidth and optical waves.

Change-Id: Ia0e3b638cd0f756e427c4c0d6d75b4e2d65002fc
...@@ -30,6 +30,16 @@ public final class AnnotationKeys { ...@@ -30,6 +30,16 @@ public final class AnnotationKeys {
30 public static final String LATENCY = "latency"; 30 public static final String LATENCY = "latency";
31 31
32 /** 32 /**
33 + * Annotation key for bandwidth.
34 + */
35 + public static final String BANDWIDTH = "bandwidth";
36 +
37 + /**
38 + * Annotation key for the number of optical waves.
39 + */
40 + public static final String OPTICAL_WAVES = "optical.waves";
41 +
42 + /**
33 * Returns the value annotated object for the specified annotation key. 43 * Returns the value annotated object for the specified annotation key.
34 * The annotated value is expected to be String that can be parsed as double. 44 * The annotated value is expected to be String that can be parsed as double.
35 * If parsing fails, the returned value will be 1.0. 45 * If parsing fails, the returned value will be 1.0.
......