Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • Cache
  • OutputHelper

Interfaces

  • IBulkReader
  • IStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Interface IStorage

Cache storage.

Direct known implementers

Nette\Caching\Storages\DevNullStorage, Nette\Caching\Storages\FileStorage, Nette\Caching\Storages\MemcachedStorage, Nette\Caching\Storages\MemoryStorage, Nette\Caching\Storages\NewMemcachedStorage, Nette\Caching\Storages\SQLiteStorage
Namespace: Nette\Caching
Located at Caching/IStorage.php
Methods summary
public mixed
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key

Returns

mixed
mixed
public
# lock( string $key )

Prevents item reading and writing. Lock is released by write() or remove().

Prevents item reading and writing. Lock is released by write() or remove().

Parameters

$key
public
# write( string $key, mixed $data, array $dependencies )

Writes item into the cache.

Writes item into the cache.

Parameters

$key
$data
$dependencies
public
# remove( string $key )

Removes item from the cache.

Removes item from the cache.

Parameters

$key
public
# clean( array $conditions )

Removes items from the cache by conditions.

Removes items from the cache by conditions.

Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0