DirectoryQueue: An R6 class for managing persistent file-based queues...

DirectoryQueueR Documentation

An R6 class for managing persistent file-based queues (abstract base class)

Description

Abstract class from which all other classes in rotor inherit their basic fields and methods.

Details

This class is part of the R6 API of rotor which is intended for developers that want to extend this package. For normal usage, the simpler functional API is recommended (see rotate()).

Active bindings

dir

a character scalar. path of the directory in which to store the cache files

Methods

Public methods


Method new()

Usage
DirectoryQueue$new(...)

Method push()

Usage
DirectoryQueue$push(x, ...)

Method prune()

Usage
DirectoryQueue$prune(x, ...)

Method set_dir()

Usage
DirectoryQueue$set_dir(x, create = TRUE)

See Also

Other R6 Classes: BackupQueueDateTime, BackupQueueDate, BackupQueueIndex, BackupQueue, Cache


s-fleck/rtdr documentation built on Oct. 18, 2022, 12:26 a.m.