Class ReducedPropagationQueueingStrategy


  • public class ReducedPropagationQueueingStrategy
    extends QueueingStrategy
    QueueingStrategy implementation used when the propagation of changes to the hooked resource should be reduced. Per configured 'intervalMs' (in milliseconds) only 1 change to the hooked resource (without payload) will be propagated.

    This strategy is used when the hook configuration contains the following properties:

    
     "queueingStrategy": {
          "type": "reducedPropagation",
          "intervalMs": 60000
     }
     
    Author:
    https://github.com/mcweba [Marc-Andre Weber]
    • Constructor Detail

      • ReducedPropagationQueueingStrategy

        protected ReducedPropagationQueueingStrategy​(long propagationIntervalMs)
    • Method Detail

      • getPropagationIntervalMs

        public long getPropagationIntervalMs()
        The propagation interval in milliseconds
        Returns:
        interval in milliseconds