Property | Type | Description | |
---|---|---|---|
$binding | |||
$cache | |||
$databaseName | |||
$map |
Method | Description | |
---|---|---|
__construct ( Doctrine\OrientDB\Binding\BindingInterface $binding, Doctrine\Common\Cache\Cache $cache ) | ||
generateMap ( ) | Creates the mapping of classes to clusters, it is public so it can be called forcibly which will be handy if it's done in some cache-warmup task. | |
identifyClass ( |
Tries to identify the class of an rid by matching it against the clusters in the database |
Method | Description | |
---|---|---|
getCacheKey ( ) | ||
getMap ( ) : array | Loads/generates the map in case it's needed. | |
load ( ) | Tries to load the map from cache, otherwise generates it. |
public __construct ( Doctrine\OrientDB\Binding\BindingInterface $binding, Doctrine\Common\Cache\Cache $cache ) | ||
$binding | Doctrine\OrientDB\Binding\BindingInterface | |
$cache | Doctrine\Common\Cache\Cache |
public generateMap ( ) |
public identifyClass ( |
||
$rid | ||
return | string |
protected load ( ) |