Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
BatchSize int // Number of deletions per batch
ProcessInterval time.Duration // Interval between batch processing
PruneAge time.Duration // Age after which entries are pruned
RetryDelay time.Duration // Backoff before a failed deletion is retried (0 = retry next cycle)
}
Config holds configuration for the deletion queue
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue manages centralized file deletion
func (*Queue) GetQueueDepth ¶
GetQueueDepth returns the current number of entries in the deletion queue.
func (*Queue) ProcessBatch ¶
func (q *Queue) ProcessBatch()
ProcessBatch processes a batch of deletion requests
Click to show internal directories.
Click to hide internal directories.