Class PruneRestingNotificationStatesConfigurationProperties

java.lang.Object
com.broadleafcommerce.data.tracking.core.messaging.autoconfigure.PruneRestingNotificationStatesConfigurationProperties

@ConstructorBinding @ConfigurationProperties("broadleaf.tracking.notification.prune") public final class PruneRestingNotificationStatesConfigurationProperties extends Object
Configuration properties for the behavior of PruneRestingNotificationStatesHandler.
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • PruneRestingNotificationStatesConfigurationProperties

      public PruneRestingNotificationStatesConfigurationProperties(@DefaultValue("60d") Duration outdatedDataAgeCutoff)
  • Method Details

    • getOutdatedDataAgeCutoff

      public Duration getOutdatedDataAgeCutoff()
      NotificationStates whose change timestamps are older than the current time (the time that the scheduled job is handled) minus this duration will be pruned from the records.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object