Package org.apache.kafka.clients.admin
Class DescribeClientQuotasResult
java.lang.Object
org.apache.kafka.clients.admin.DescribeClientQuotasResult
@Evolving public class DescribeClientQuotasResult extends Object
The result of the
Admin.describeClientQuotas(ClientQuotaFilter, DescribeClientQuotasOptions)
call.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
Constructors Constructor Description DescribeClientQuotasResult(KafkaFuture<Map<ClientQuotaEntity,Map<String,Double>>> entities)
Maps an entity to its configured quota value(s). -
Method Summary
Modifier and Type Method Description KafkaFuture<Map<ClientQuotaEntity,Map<String,Double>>>
entities()
Returns a map from quota entity to a future which can be used to check the status of the operation.
-
Constructor Details
-
DescribeClientQuotasResult
public DescribeClientQuotasResult(KafkaFuture<Map<ClientQuotaEntity,Map<String,Double>>> entities)Maps an entity to its configured quota value(s). Note if no value is defined for a quota type for that entity's config, then it is not included in the resulting value map.- Parameters:
entities
- future for the collection of entities that matched the filter
-
-
Method Details
-
entities
Returns a map from quota entity to a future which can be used to check the status of the operation.
-