Package org.eclipse.microprofile.metrics
Class MetricUnits
java.lang.Object
org.eclipse.microprofile.metrics.MetricUnits
Standard units constants for metric's
Metadata
.
This class provides a list of common metric units and is not meant to be a complete list of possible units.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Represents bits.static final String
8BITS
static final String
24HOURS
static final String
1024MEBIBITS
static final String
1000MEGABITS
static final String
1000MEGABYTES
static final String
60MINUTES
static final String
1024BITS
static final String
1000BITS
static final String
1000BYTES
static final String
1024KIBIBITS
static final String
1000KIBIBITS
static final String
1000KILOBYTES
static final String
1/1000MILLISECONDS
static final String
1/1000SECONDS
static final String
60SECONDS
static final String
1/1000MICROSECONDS
static final String
No unitstatic final String
Represent per secondstatic final String
Represents percentagestatic final String
Represents seconds -
Method Summary
-
Field Details
-
NONE
No unit- See Also:
-
BITS
Represents bits. Not defined by SI, but by IEC 60027- See Also:
-
KILOBITS
1000BITS
- See Also:
-
MEGABITS
1000KIBIBITS
- See Also:
-
GIGABITS
1000MEGABITS
- See Also:
-
KIBIBITS
1024BITS
- See Also:
-
MEBIBITS
1024KIBIBITS
- See Also:
-
GIBIBITS
1024MEBIBITS
- See Also:
-
BYTES
8BITS
- See Also:
-
KILOBYTES
1000BYTES
- See Also:
-
MEGABYTES
1000KILOBYTES
- See Also:
-
GIGABYTES
1000MEGABYTES
- See Also:
-
NANOSECONDS
1/1000MICROSECONDS
- See Also:
-
MICROSECONDS
1/1000MILLISECONDS
- See Also:
-
MILLISECONDS
1/1000SECONDS
- See Also:
-
SECONDS
Represents seconds- See Also:
-
MINUTES
60SECONDS
- See Also:
-
HOURS
60MINUTES
- See Also:
-
DAYS
24HOURS
- See Also:
-
PERCENT
Represents percentage- See Also:
-
PER_SECOND
Represent per second- See Also:
-