Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

Classes

  • Cache
  • OutputHelper

Interfaces

  • IStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

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\SQLiteStorage

Indirect known implementers

Nette\Caching\Storages\PhpFileStorage
Namespace: Nette\Caching
Author: David Grudl
Located at Caching/IStorage.php
Methods summary
public mixed|null
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key
string
key

Returns

mixed|null
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
string
key
public
# write( string $key, mixed $data, array $dependencies )

Writes item into the cache.

Writes item into the cache.

Parameters

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

Removes item from the cache.

Removes item from the cache.

Parameters

$key
string
key
public
# clean( array $conditions )

Removes items from the cache by conditions.

Removes items from the cache by conditions.

Parameters

$conditions
array
conditions
Nette 2.1 API documentation generated by ApiGen 2.8.0