PHP Класс Nette\Caching\Storages\SQLiteStorage

Наследование: implements Nette\Caching\IStorage, implements Nette\Caching\IBulkReader, use trait Nette\SmartObject
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $path )
bulkRead ( array $keys ) : array Reads from cache in bulk.
clean ( array $conditions ) : void Removes items from the cache by conditions & garbage collector.
lock ( $key ) : void Prevents item reading and writing. Lock is released by write() or remove().
read ( $key ) : mixed | null Read from cache.
remove ( $key ) : void Removes item from the cache.
write ( $key, $data, array $dependencies ) : void Writes item into the cache.

Описание методов

__construct() публичный Метод

public __construct ( $path )

bulkRead() публичный Метод

Reads from cache in bulk.
public bulkRead ( array $keys ) : array
$keys array
Результат array key => value pairs, missing items are omitted

clean() публичный Метод

Removes items from the cache by conditions & garbage collector.
public clean ( array $conditions ) : void
$conditions array
Результат void

lock() публичный Метод

Prevents item reading and writing. Lock is released by write() or remove().
public lock ( $key ) : void
Результат void

read() публичный Метод

Read from cache.
public read ( $key ) : mixed | null
Результат mixed | null

remove() публичный Метод

Removes item from the cache.
public remove ( $key ) : void
Результат void

write() публичный Метод

Writes item into the cache.
public write ( $key, $data, array $dependencies ) : void
$dependencies array
Результат void