docs/v3/api-ref/python/prefect-server-worker_communication-cleanup_queue-memory.mdx
prefect.server.worker_communication.cleanup_queue.memoryWorkerCleanupQueue <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L56" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>Singleton in-memory cleanup queue storage for a single server process.
Methods:
ack <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L229" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>ack(self) -> CleanupQueueOperationResult
clear <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L84" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>clear(self) -> None
enqueue <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L94" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>enqueue(self) -> CleanupQueueMessage
expire_leases <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L382" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>expire_leases(self) -> CleanupQueueLeaseExpiryResult
read_dead_letter <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L411" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>read_dead_letter(self) -> CleanupQueueDeadLetter | None
read_message <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L402" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>read_message(self) -> CleanupQueueMessage | None
read_wakeup_sequence <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L434" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>read_wakeup_sequence(self, work_pool_id: UUID) -> int
release <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L272" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>release(self) -> CleanupQueueOperationResult
renew <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L334" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>renew(self) -> CleanupQueueOperationResult
reserve <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L147" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>reserve(self) -> CleanupQueueReservation | None
wait_for_wakeup <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L438" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>wait_for_wakeup(self, work_pool_id: UUID) -> CleanupQueueWakeup | None
wake_dispatchers <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/worker_communication/cleanup_queue/memory.py#L423" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>wake_dispatchers(self, work_pool_id: UUID) -> CleanupQueueWakeup