SQLiteStorage
class SQLiteStorage implements IStorage, IBulkReader
SQLite storage.
Methods
__construct($path)
No description
mixed
read(string $key)
Read from cache.
array
bulkRead(array $keys)
Reads from cache in bulk.
void
lock(string $key)
Prevents item reading and writing. Lock is released by write() or remove().
void
write(string $key, mixed $data, array $dependencies)
Writes item into the cache.
void
remove(string $key)
Removes item from the cache.
void
clean(array $conditions)
Removes items from the cache by conditions.
Details
at line 25
__construct($path)
No description
at line 53
mixed
read(string $key)
Read from cache.
at line 66
array
bulkRead(array $keys)
Reads from cache in bulk.
at line 86
void
lock(string $key)
Prevents item reading and writing. Lock is released by write() or remove().
at line 91
void
write(string $key, mixed $data, array $dependencies)
Writes item into the cache.
at line 112
void
remove(string $key)
Removes item from the cache.
at line 119
void
clean(array $conditions)
Removes items from the cache by conditions.
Traits
SmartObject