Class PruneRestingNotificationStatesConfigurationProperties
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.messaging.autoconfigure.PruneRestingNotificationStatesConfigurationProperties
-
@ConstructorBinding @ConfigurationProperties("broadleaf.tracking.notification.prune") public final class PruneRestingNotificationStatesConfigurationProperties extends ObjectConfiguration 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 booleanequals(Object o)DurationgetOutdatedDataAgeCutoff()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.inthashCode()StringtoString()
-
-
-
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.
-
-