Modifier and Type | Method and Description |
---|---|
Long |
getValue(io.micrometer.core.instrument.Meter.Type meterType)
Return the underlying value of the SLA in form suitable to apply to the given meter
type.
|
static ServiceLevelAgreementBoundary |
valueOf(long value)
Return a new
ServiceLevelAgreementBoundary instance for the given long
value. |
static ServiceLevelAgreementBoundary |
valueOf(String value) |
public Long getValue(io.micrometer.core.instrument.Meter.Type meterType)
meterType
- the meter typenull
if the value cannot be appliedpublic static ServiceLevelAgreementBoundary valueOf(String value)
public static ServiceLevelAgreementBoundary valueOf(long value)
ServiceLevelAgreementBoundary
instance for the given long
value.value
- the source valueServiceLevelAgreementBoundary
instanceCopyright © 2019 Pivotal Software, Inc.. All rights reserved.