Class TranslationCacheProperties

java.lang.Object
com.broadleafcommerce.translation.cache.TranslationCacheProperties

@ConfigurationProperties("broadleaf.translation.cache") public class TranslationCacheProperties extends Object
Properties that influence cache settings for translation
Author:
Jeff Fischer
  • Constructor Details

    • TranslationCacheProperties

      public TranslationCacheProperties()
  • Method Details

    • getHeapBudget

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

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

      public Duration getByEntityLocale()
    • setHeapBudget

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

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

      public void setByEntityLocale(Duration byEntityLocale)
    • 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