Class Swift_KeyCache_NullKeyCache
A null KeyCache that does not cache at all.
-
Swift_KeyCache_NullKeyCache
implements
Swift_KeyCache
Methods summary
public
|
#
setString( string $nsKey, string $itemKey, string $string, integer $mode )
Set a string into the cache under $itemKey for the namespace $nsKey.
Set a string into the cache under $itemKey for the namespace $nsKey.
Parameters
- $nsKey
string $nsKey
- $itemKey
string $itemKey
- $string
string $string
- $mode
integer $mode
See
Implementation of
|
public
|
#
importFromByteStream( string $nsKey, string $itemKey, Swift_OutputByteStream $os, integer $mode )
Set a ByteStream into the cache under $itemKey for the namespace $nsKey.
Set a ByteStream into the cache under $itemKey for the namespace $nsKey.
Parameters
See
Implementation of
|
public
Swift_InputByteStream
|
#
getInputByteStream( string $nsKey, string $itemKey, Swift_InputByteStream $writeThrough = null )
Provides a ByteStream which when written to, writes data to $itemKey.
Provides a ByteStream which when written to, writes data to $itemKey.
NOTE: The stream will always write in append mode.
Parameters
Returns
Implementation of
|
public
string
|
#
getString( string $nsKey, string $itemKey )
Get data back out of the cache as a string.
Get data back out of the cache as a string.
Parameters
- $nsKey
string $nsKey
- $itemKey
string $itemKey
Returns
string
Implementation of
|
public
|
#
exportToByteStream( string $nsKey, string $itemKey, Swift_InputByteStream $is )
Get data back out of the cache as a ByteStream.
Get data back out of the cache as a ByteStream.
Parameters
Implementation of
|
public
boolean
|
#
hasKey( string $nsKey, string $itemKey )
Check if the given $itemKey exists in the namespace $nsKey.
Check if the given $itemKey exists in the namespace $nsKey.
Parameters
- $nsKey
string $nsKey
- $itemKey
string $itemKey
Returns
boolean
Implementation of
|
public
|
#
clearKey( string $nsKey, string $itemKey )
Clear data for $itemKey in the namespace $nsKey if it exists.
Clear data for $itemKey in the namespace $nsKey if it exists.
Parameters
- $nsKey
string $nsKey
- $itemKey
string $itemKey
Implementation of
|
public
|
#
clearAll( string $nsKey )
Clear all data in the namespace $nsKey if it exists.
Clear all data in the namespace $nsKey if it exists.
Parameters
Implementation of
|