@ParametersAreNonnullByDefault
Attributes and classes/utilities for interacting with them.See: Description
| Interface | Description |
|---|---|
| AttributeConsumer |
Used for iterating over all the key/value pairs in an
Attributes instance. |
| AttributeKey<T> |
This interface provides a handle for setting the values of
Attributes. |
| LabelConsumer |
Convenience interface for consuming
Labels. |
| ReadableAttributes |
A read-only container for String-keyed attributes.
|
| Class | Description |
|---|---|
| Attributes |
An immutable container for attributes.
|
| Attributes.Builder |
Enables the creation of an
Attributes instance with an arbitrary number of key-value
pairs. |
| Labels |
An immutable container for labels, which are pairs of
String. |
| Labels.Builder |
Enables the creation of an
Labels instance with an arbitrary number of key-value pairs. |
| Enum | Description |
|---|---|
| AttributeType |
An enum that represents all the possible value types for an
AttributeKey and hence the
types of values that are allowed for Attributes. |
Attributes and classes/utilities for interacting with them.