system.queues.external_queues module¶
Disk-backed external queue implementation.
- class system.queues.external_queues.ExternalQueue(memory_limit: int = 10000)[source]¶
Bases:
ReadWriteQueue,GenericExternalQueue is a disk-backed read-write queue that buffers elements in memory and spills to a temporary file once the buffer is full.
- pop() ObjectType[source]¶
Not supported by this disk-backed queue: always raises
NotImplementedError.
- insert(entry: ObjectType) None[source]¶
Inserts an entry into the queue
- Parameters:
entry – The entry to insert into the queue.