Class ClientQuotaEntity


  • public class ClientQuotaEntity
    extends Object
    Describes a client quota entity, which is a mapping of entity types to their names.
    • Constructor Detail

      • ClientQuotaEntity

        public ClientQuotaEntity​(Map<String,​String> entries)
        Constructs a quota entity for the given types and names. If a name is null, then it is mapped to the built-in default entity name.
        Parameters:
        entries - maps entity type to its name
    • Method Detail

      • isValidEntityType

        public static boolean isValidEntityType​(String entityType)
      • entries

        public Map<String,​String> entries()
        Returns:
        map of entity type to its name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object