Properties

$memcached

$memcached : 

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.

Memcached does not support " ", null byte and very long keys 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() 

testGetMemcachedReturnsInstanceOfMemcached()

testGetMemcachedReturnsInstanceOfMemcached() 

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()