Properties

$memcache

$memcache : 

Type

Methods

testSetContainsFetchDelete()

testSetContainsFetchDelete(  $value) 

Parameters

$value

testUpdateExistingEntry()

testUpdateExistingEntry(  $value) 

Parameters

$value

testCacheKeyIsCaseSensitive()

testCacheKeyIsCaseSensitive() 

testFetchMultiple()

testFetchMultiple() 

testFetchMultipleWithNoKeys()

testFetchMultipleWithNoKeys() 

testSaveMultiple()

testSaveMultiple() 

provideDataToCache()

provideDataToCache() 

testDeleteIsSuccessfulWhenKeyDoesNotExist()

testDeleteIsSuccessfulWhenKeyDoesNotExist() 

testDeleteAll()

testDeleteAll() 

testCanHandleSpecialCacheIds()

testCanHandleSpecialCacheIds(  $id) 

Parameters

$id

testNoCacheIdCollisions()

testNoCacheIdCollisions() 

provideCacheIds()

provideCacheIds() : array

Returns cache ids with special characters that should still work.

Memcache does not support " " and null byte as key so we remove them from the tests.

Returns

array

testLifetime()

testLifetime() 

testNoExpire()

testNoExpire() 

testLongLifetime()

testLongLifetime() 

testDeleteAllAndNamespaceVersioningBetweenCaches()

testDeleteAllAndNamespaceVersioningBetweenCaches() 

testFlushAll()

testFlushAll() 

testFlushAllAndNamespaceVersioningBetweenCaches()

testFlushAllAndNamespaceVersioningBetweenCaches() 

testNamespace()

testNamespace() 

testDeleteAllNamespace()

testDeleteAllNamespace() 

testGetStats()

testGetStats() 

testSaveReturnsTrueWithAndWithoutTTlSet()

testSaveReturnsTrueWithAndWithoutTTlSet() 

testValueThatIsFalseBooleanIsProperlyRetrieved()

testValueThatIsFalseBooleanIsProperlyRetrieved() 

testGetMemcacheReturnsInstanceOfMemcache()

testGetMemcacheReturnsInstanceOfMemcache() 

isSharedStorage()

isSharedStorage() : boolean

Return whether multiple cache providers share the same storage.

This is used for skipping certain tests for shared storage behavior.

Returns

boolean

setUp()

setUp() 

tearDown()

tearDown()