Class DiscriminatedPropertyContext


  • public class DiscriminatedPropertyContext
    extends Object
    Thread local context for holding any tenant related information for the current request. Generally set via DiscriminatedPropertyFilter.
    • Constructor Detail

      • DiscriminatedPropertyContext

        public DiscriminatedPropertyContext()
    • Method Detail

      • clear

        public static void clear()
      • increment

        public void increment​(String key)
      • reportUsage

        public void reportUsage​(Map<String,​String> information)
      • getTenantId

        public String getTenantId()
      • getApplicationId

        public String getApplicationId()
      • getCountByProperty

        public Map<String,​Long> getCountByProperty()
      • setTenantId

        public void setTenantId​(String tenantId)
      • setApplicationId

        public void setApplicationId​(String applicationId)
      • setCountByProperty

        public void setCountByProperty​(Map<String,​Long> countByProperty)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object