PassthroughFilesystemCache: Caching and dataset management

Description Methods

Description

Caching and dataset management

Caching and dataset management

Methods

Public methods


Method new()

Usage
PassthroughFilesystemCache$new(
  wd = tempdir(),
  nocache = FALSE,
  debug = FALSE,
  ...
)

Method getDaily()

Usage
PassthroughFilesystemCache$getDaily(id, orElse, ...)

Method getHashCached()

Usage
PassthroughFilesystemCache$getHashCached(
  object,
  operation,
  params = NULL,
  orElse,
  ...
)

Method unloadCache()

Usage
PassthroughFilesystemCache$unloadCache()

Method getSaved()

a pass through 2 level cache (memory / saved file / orElse function)

Usage
PassthroughFilesystemCache$getSaved(
  id,
  orElse,
  ...,
  params = NULL,
  nocache = NULL,
  dir = NULL
)

Method clone()

The objects of this class are cloneable with this method.

Usage
PassthroughFilesystemCache$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


terminological/uk-covid-datatools documentation built on June 24, 2021, 8:16 p.m.