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 Summary
ConstructorDescriptionPruneRestingNotificationStatesConfigurationProperties
(Duration outdatedDataAgeCutoff) -
Method Summary
-
Constructor Details
-
PruneRestingNotificationStatesConfigurationProperties
public PruneRestingNotificationStatesConfigurationProperties(@DefaultValue("60d") Duration outdatedDataAgeCutoff)
-
-
Method Details
-
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
-
hashCode
public int hashCode() -
toString
-