NoCache: No-Op Cache

NoCacheR Documentation

No-Op Cache

Description

Disabled cache (no caching)

Super class

VectrixDB::BaseCache -> NoCache

Methods

Public methods

Inherited methods

Method get()

Get value from cache (always returns NULL)

Usage
NoCache$get(key)
Arguments
key

Cache key

Returns

NULL


Method set()

Set cache value (no-op)

Usage
NoCache$set(key, value, ttl = NULL)
Arguments
key

Cache key

value

Value to cache

ttl

Time-to-live in seconds (ignored)

Returns

Invisibly returns NULL


Method delete()

Delete key from cache (always FALSE)

Usage
NoCache$delete(key)
Arguments
key

Cache key

Returns

FALSE


Method exists()

Check if key exists (always FALSE)

Usage
NoCache$exists(key)
Arguments
key

Cache key

Returns

FALSE


Method clear()

Clear cache (no-op)

Usage
NoCache$clear()
Returns

Invisibly returns NULL


Method size()

Get cache size (always 0)

Usage
NoCache$size()
Returns

Integer zero


Method clone()

The objects of this class are cloneable with this method.

Usage
NoCache$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


VectrixDB documentation built on Feb. 20, 2026, 5:09 p.m.