Package org.apache.kafka.common.metrics
Class Quota
java.lang.Object
org.apache.kafka.common.metrics.Quota
An upper or lower bound for metrics
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptable
(double value) double
bound()
boolean
int
hashCode()
boolean
static Quota
lowerBound
(double lowerBound) toString()
static Quota
upperBound
(double upperBound)
-
Constructor Details
-
Quota
public Quota(double bound, boolean upper)
-
-
Method Details