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 ofPruneRestingNotificationStatesHandler
.- Author:
- Samarth Dhruva (samarthd)
-
-
Constructor Summary
Constructors Constructor Description PruneRestingNotificationStatesConfigurationProperties(Duration outdatedDataAgeCutoff)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
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.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
PruneRestingNotificationStatesConfigurationProperties
public PruneRestingNotificationStatesConfigurationProperties(@DefaultValue("60d") Duration outdatedDataAgeCutoff)
-
-
Method Detail
-
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.
-
-