Class NotificationCacheProperties
java.lang.Object
com.broadleafcommerce.notification.service.cache.NotificationCacheProperties
@ConfigurationProperties("broadleaf.notification.cache")
public class NotificationCacheProperties
extends Object
Properties that influence cache settings for the notification service
- Author:
- Sunny Yu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTime-to-live for resolving an application by its id.intThe total heap budget in MB for all notification caches.intThe total off-heap budget in MB for all notification caches.inthashCode()voidsetApplicationByApplicationIdTtl(Duration applicationByApplicationIdTtl) Time-to-live for resolving an application by its id.voidsetHeapBudget(int heapBudget) The total heap budget in MB for all notification caches.voidsetOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all notification caches.toString()
-
Constructor Details
-
NotificationCacheProperties
public NotificationCacheProperties()
-
-
Method Details
-
getHeapBudget
public int getHeapBudget()The total heap budget in MB for all notification caches. -
getOffHeapBudget
public int getOffHeapBudget()The total off-heap budget in MB for all notification caches. -
getApplicationByApplicationIdTtl
Time-to-live for resolving an application by its id. -
setHeapBudget
public void setHeapBudget(int heapBudget) The total heap budget in MB for all notification caches. -
setOffHeapBudget
public void setOffHeapBudget(int offHeapBudget) The total off-heap budget in MB for all notification caches. -
setApplicationByApplicationIdTtl
Time-to-live for resolving an application by its id. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-