Adding possibility to use a different cache-backend for locking and caching
- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
This commit is contained in:
parent
86bf2ee45a
commit
34e4968c06
19 changed files with 149 additions and 64 deletions
|
@ -119,16 +119,19 @@ return [
|
|||
]
|
||||
],
|
||||
Cache\ICache::class => [
|
||||
'instanceOf' => Factory\CacheDriverFactory::class,
|
||||
'instanceOf' => Factory\CacheFactory::class,
|
||||
'call' => [
|
||||
['create', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
Cache\IMemoryCache::class => [
|
||||
'instanceOf' => Cache\ICache::class,
|
||||
'instanceOf' => Factory\CacheFactory::class,
|
||||
'call' => [
|
||||
['create', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
ILock::class => [
|
||||
'instanceOf' => Factory\LockDriverFactory::class,
|
||||
'instanceOf' => Factory\LockFactory::class,
|
||||
'call' => [
|
||||
['create', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue