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 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

      public Duration 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

      public void setApplicationByApplicationIdTtl(Duration applicationByApplicationIdTtl)
      Time-to-live for resolving an application by its id.
    • 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