Class 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 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object