| Package | Description |
|---|---|
| org.eclipse.microprofile.metrics |
MicroProfile Metrics
|
| Modifier and Type | Method and Description |
|---|---|
static MetadataBuilder |
Metadata.builder()
Returns a new builder
|
static MetadataBuilder |
Metadata.builder(Metadata metadata)
Returns a new builder with the
Metadata information |
MetadataBuilder |
MetadataBuilder.notReusable()
Sets the reusability flag to
Boolean.FALSE |
MetadataBuilder |
MetadataBuilder.reusable()
Sets the reusability flag to
Boolean.TRUE |
MetadataBuilder |
MetadataBuilder.reusable(boolean value)
Sets the reusability flag to the desired boolean value
|
MetadataBuilder |
MetadataBuilder.withDescription(String description)
Sets the description.
|
MetadataBuilder |
MetadataBuilder.withDisplayName(String displayName)
Sets the displayName.
|
MetadataBuilder |
MetadataBuilder.withName(String name)
Sets the name.
|
MetadataBuilder |
MetadataBuilder.withOptionalDescription(String description)
Sets the description.
|
MetadataBuilder |
MetadataBuilder.withOptionalDisplayName(String displayName)
Sets the displayName.
|
MetadataBuilder |
MetadataBuilder.withOptionalType(MetricType type)
Sets the type.
|
MetadataBuilder |
MetadataBuilder.withOptionalUnit(String unit)
Sets the unit.
|
MetadataBuilder |
MetadataBuilder.withType(MetricType type)
Sets the type.
|
MetadataBuilder |
MetadataBuilder.withUnit(String unit)
Sets the unit.
|
Copyright © 2020. All rights reserved.