public final class AnnotationKeys extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BANDWIDTH
Annotation key for bandwidth.
|
static String |
DURABLE
Annotation key for durable links.
|
static String |
LATENCY
Annotation key for latency.
|
static String |
LATITUDE
Annotation key for latitude (e.g.
|
static String |
LONGITUDE
Annotation key for longitute (e.g.
|
static String |
NAME
Annotation key for instance name.
|
static String |
OPTICAL_WAVES
Annotation key for the number of optical waves.
|
static String |
PROTOCOL
Annotation key for southbound protocol.
|
static String |
TYPE
Annotation key for instance type (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getAnnotatedValue(Annotated annotated,
String key)
Returns the value annotated object for the specified annotation key.
|
public static final String NAME
public static final String TYPE
public static final String LATITUDE
public static final String LONGITUDE
public static final String PROTOCOL
public static final String DURABLE
public static final String LATENCY
public static final String BANDWIDTH
public static final String OPTICAL_WAVES
public static double getAnnotatedValue(Annotated annotated, String key)
annotated - annotated object whose annotated value is obtainedkey - key of annotationCopyright © 2015. All rights reserved.