Learn R Programming

rotor (version 0.3.4)

DirectoryQueue: 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.

Arguments

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)

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()).

See Also

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