Package org.apache.qpid.server.queue
Class FlowToDiskOverflowPolicyHandler
- java.lang.Object
-
- org.apache.qpid.server.queue.FlowToDiskOverflowPolicyHandler
-
- All Implemented Interfaces:
OverflowPolicyHandler
public class FlowToDiskOverflowPolicyHandler extends Object implements OverflowPolicyHandler
If the queue breaches a limit, newly arriving messages are written to disk and the in-memory representation of the message is minimised. The Broker will transparently retrieve messages from disk as they are required by a consumer or management. The flow to disk policy does not actually restrict the overall size of the queue, merely the space occupied in memory.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkOverflow(QueueEntry newlyEnqueued)
Checks queue overflow (is called when adding or deleting queue entry)
-
-
-
Method Detail
-
checkOverflow
public void checkOverflow(QueueEntry newlyEnqueued)
Checks queue overflow (is called when adding or deleting queue entry)- Specified by:
checkOverflow
in interfaceOverflowPolicyHandler
- Parameters:
newlyEnqueued
- QueueEntry enqueued (is null on deletion)
-
-