Class ClientQuotaFilterComponent
java.lang.Object
org.apache.kafka.common.quota.ClientQuotaFilterComponent
Describes a component for applying a client quota filter.
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()match()static ClientQuotaFilterComponentofDefaultEntity(String entityType) Constructs and returns a filter component that matches the built-in default entity name for the entity type.static ClientQuotaFilterComponentConstructs and returns a filter component that exactly matches the provided entity name for the entity type.static ClientQuotaFilterComponentofEntityType(String entityType) Constructs and returns a filter component that matches any specified name for the entity type.toString()
-
Method Details
-
ofEntity
Constructs and returns a filter component that exactly matches the provided entity name for the entity type.- Parameters:
entityType- the entity type the filter component applies toentityName- the entity name that's matched exactly
-
ofDefaultEntity
Constructs and returns a filter component that matches the built-in default entity name for the entity type.- Parameters:
entityType- the entity type the filter component applies to
-
ofEntityType
Constructs and returns a filter component that matches any specified name for the entity type.- Parameters:
entityType- the entity type the filter component applies to
-
entityType
- Returns:
- the component's entity type
-
match
-
equals
-
hashCode
-
toString
-