Class ReducedPropagationQueueingStrategy
- java.lang.Object
-
- org.swisspush.gateleen.hook.queueingstrategy.QueueingStrategy
-
- org.swisspush.gateleen.hook.queueingstrategy.ReducedPropagationQueueingStrategy
-
public class ReducedPropagationQueueingStrategy extends QueueingStrategy
QueueingStrategyimplementation 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 Summary
Constructors Modifier Constructor Description protectedReducedPropagationQueueingStrategy(long propagationIntervalMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetPropagationIntervalMs()The propagation interval in milliseconds
-