Package org.apache.kafka.common.quota
Class ClientQuotaEntity
- java.lang.Object
-
- org.apache.kafka.common.quota.ClientQuotaEntity
-
public class ClientQuotaEntity extends Object
Describes a client quota entity, which is a mapping of entity types to their names.
-
-
Constructor Summary
Constructors Constructor Description ClientQuotaEntity(Map<String,String> entries)
Constructs a quota entity for the given types and names.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
entries()
boolean
equals(Object o)
int
hashCode()
static boolean
isValidEntityType(String entityType)
String
toString()
-
-
-
Field Detail
-
USER
public static final String USER
The type of an entity entry.- See Also:
- Constant Field Values
-
CLIENT_ID
public static final String CLIENT_ID
- See Also:
- Constant Field Values
-
IP
public static final String IP
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidEntityType
public static boolean isValidEntityType(String entityType)
-
-