Class CompositeQueueFlowController
- java.lang.Object
-
- com.swiftmq.swiftlet.queue.FlowController
-
- com.swiftmq.impl.queue.standard.composite.CompositeQueueFlowController
-
public class CompositeQueueFlowController extends FlowController
-
-
Field Summary
-
Fields inherited from class com.swiftmq.swiftlet.queue.FlowController
lastDelay, queueSize, receiveCount, receiveCountCalls, receiverCount, sentCount, sentCountCalls, timestamp
-
-
Constructor Summary
Constructors Constructor Description CompositeQueueFlowController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getNewDelay()
Computes and returns a new delay.void
setLastDelay(long lastDelay)
-
Methods inherited from class com.swiftmq.swiftlet.queue.FlowController
getLastDelay, getStartQueueSize, setQueueSize, setReceiveMessageCount, setReceiverCount, setSentMessageCount, toString
-
-
-
-
Method Detail
-
setLastDelay
public void setLastDelay(long lastDelay)
-
getNewDelay
public long getNewDelay()
Description copied from class:FlowController
Computes and returns a new delay.- Specified by:
getNewDelay
in classFlowController
- Returns:
- delay.
-
-