ServiceLevelObjectiveBoundary@Deprecated public final class ServiceLevelAgreementBoundary extends Object
Long (applicable to timers and distribution summaries)
or a Duration (applicable to only timers).| Modifier and Type | Method and Description |
|---|---|
Long |
getValue(io.micrometer.core.instrument.Meter.Type meterType)
Deprecated.
Return the underlying value of the SLA in form suitable to apply to the given meter
type.
|
static ServiceLevelAgreementBoundary |
valueOf(long value)
Deprecated.
Return a new
ServiceLevelAgreementBoundary instance for the given long
value. |
static ServiceLevelAgreementBoundary |
valueOf(String value)
Deprecated.
Return a new
ServiceLevelAgreementBoundary instance for the given 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(long value)
ServiceLevelAgreementBoundary instance for the given long
value.value - the source valueServiceLevelAgreementBoundary instancepublic static ServiceLevelAgreementBoundary valueOf(String value)
ServiceLevelAgreementBoundary instance for the given String
value.value - the source valueServiceLevelAgreementBoundary instance