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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe total heap budget in MB for all translation caches.intThe total off-heap budget in MB for all translation caches.inthashCode()voidsetByEntityLocale(Duration byEntityLocale) voidsetHeapBudget(int heapBudget) The total heap budget in MB for all translation caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all translation caches.toString()
-
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
-
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-