$client
$client :
Store and retrieve cached entities without hitting the server
__construct(\Everyman\Neo4j\Client $client, \Everyman\Neo4j\Cache $cache, integer $cacheTimeout)
Set the client and caching plugin to use
\Everyman\Neo4j\Client | $client | |
\Everyman\Neo4j\Cache | $cache | |
integer | $cacheTimeout |
deleteCachedEntity(\Everyman\Neo4j\PropertyContainer $entity)
Delete an entity from the cache
\Everyman\Neo4j\PropertyContainer | $entity |
setCache(\Everyman\Neo4j\Cache $cache, integer $cacheTimeout)
Set the cache to use
\Everyman\Neo4j\Cache | $cache | |
integer | $cacheTimeout |
setCachedEntity(\Everyman\Neo4j\PropertyContainer $entity)
Set an entity in the cache
\Everyman\Neo4j\PropertyContainer | $entity |
getCache() : \Everyman\Neo4j\Cache
Get the cache plugin
getEntityCacheKey(\Everyman\Neo4j\PropertyContainer $entity) : string
Determine the cache key used to retrieve the given entity from the cache
\Everyman\Neo4j\PropertyContainer | $entity |