java.lang.Object
com.broadleafcommerce.common.extension.cache.api.EntityInfo

public class EntityInfo extends Object
Optional. Identifying information about a cached member. This construct can be added to CacheStateManager interaction in order to influence the cache key, making the key more identifiable to other concerned processes.
  • Constructor Details

    • EntityInfo

      public EntityInfo()
    • EntityInfo

      public EntityInfo(@NonNull Class<?> type, @NonNull String identifier)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public Class<?> getType()
    • getIdentifier

      public String getIdentifier()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object