The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

has_pending

Returns true if there are pending tasks in the queue.

run_pending

Processes any tasks pending in the queue.

is_connected

Returns true if we have established a connection.

queue_task

Queues a task for processing when we get around to connecting later.

Takes the following parameters:

  • $method - should be 'store' or 'retrieve'

  • @args - any parameters, will be passed verbatim when we get around to calling the method.

Returns $self.

store

Store a value in the cache.

Takes the following parameters:

  • $query - query to store under

  • $value - value to store in key (can be undef)

Returns $self.

cleanup

Takes the following parameters:

Returns

INHERITED METHODS

EntityModel::StorageClass::KVStore::Layer

key_mangle, lookup, retrieval_fallback, underlayer

EntityModel::StorageClass::KVStore::Mixin::Deferred

connection_complete