PHP Interface Neos\Cache\Backend\FreezableBackendInterface

Inheritance: extends Neos\Cache\Backend\BackendInterface
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
freeze ( ) : void Freezes this cache backend.
isFrozen ( ) : boolean Tells if this backend is frozen.

Method Details

freeze() public method

All data in a frozen backend remains unchanged and methods which try to add or modify data result in an exception thrown. Possible expiry times of individual cache entries are ignored. On the positive side, a frozen cache backend is much faster on read access. A frozen backend can only be thawn by calling the flush() method.
public freeze ( ) : void
return void

isFrozen() public method

Tells if this backend is frozen.
public isFrozen ( ) : boolean
return boolean