Disk-based offload
Disk-based offload
Details
A disk-based offload for object_store
. This is not
intended at all for direct user-use.
Methods
Method new()
Create the store
Arguments
path
A directory name to store objects in. It will be
created if it does not yet exist.
Method mset()
Save a number of values to disk
Usage
object_store_offload_disk$mset(hash, value)
Arguments
hash
A character vector of object hashes
value
A list of serialised objects
(each of which is a raw vector)
Retrieve a number of objects from the store
Usage
object_store_offload_disk$mget(hash)
Arguments
hash
A character vector of hashes of the objects to return.
The objects will be deserialised before return.
Method mdel()
Delete a number of objects from the store
Usage
object_store_offload_disk$mdel(hash)
Arguments
hash
A character vector of hashes to remove
List hashes stored in this offload store
Usage
object_store_offload_disk$list()
Method destroy()
Completely delete the store (by deleting the directory)
Usage
object_store_offload_disk$destroy()