Class MetadataCacheProperties

java.lang.Object
com.broadleafcommerce.metadata.cache.MetadataCacheProperties

@ConfigurationProperties("broadleaf.metadata.cache") public class MetadataCacheProperties extends Object
Properties that influence cache settings for the metadata service
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • MetadataCacheProperties

      public MetadataCacheProperties()
  • Method Details

    • getHeapBudget

      public int getHeapBudget()
      The total heap budget in MB for all metadata caches.
    • getOffHeapBudget

      public int getOffHeapBudget()
      The total off-heap budget in MB for all metadata caches.
    • getByComponentIdTenantIdApplicationId

      public Duration getByComponentIdTenantIdApplicationId()
    • setHeapBudget

      public void setHeapBudget(int heapBudget)
      The total heap budget in MB for all metadata caches.
    • setOffHeapBudget

      public void setOffHeapBudget(int offHeapBudget)
      The total off-heap budget in MB for all metadata caches.
    • setByComponentIdTenantIdApplicationId

      public void setByComponentIdTenantIdApplicationId(Duration byComponentIdTenantIdApplicationId)
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object