]> git.mxchange.org Git - friendica.git/commit
redesign of locking & caching
authorPhilipp Holzer <admin@philipp.info>
Thu, 28 Jun 2018 20:57:17 +0000 (22:57 +0200)
committerPhilipp Holzer <admin@philipp.info>
Thu, 28 Jun 2018 20:57:17 +0000 (22:57 +0200)
commit3f7e4f5bb67c67586423d9e1105ce274b83767c3
tree4f26cb41f8e3b085b98aeb7b2a06c0852c74ac28
parentacf6a5cb9ede84dabedda3e0925776c83efd9337
redesign of locking & caching

- New Factory "CacheDriverFactory" for Cache and Locks
- Adding Redis/Memcached Locking
- Moved Lock to Core
- other improvements
15 files changed:
src/Core/Cache.php
src/Core/Cache/CacheDriverFactory.php [new file with mode: 0644]
src/Core/Lock.php [new file with mode: 0644]
src/Core/Lock/AbstractLockDriver.php [new file with mode: 0644]
src/Core/Lock/CacheLockDriver.php [new file with mode: 0644]
src/Core/Lock/DatabaseLockDriver.php [new file with mode: 0644]
src/Core/Lock/ILockDriver.php [new file with mode: 0644]
src/Core/Lock/SemaphoreLockDriver.php [new file with mode: 0644]
src/Core/Worker.php
src/Protocol/OStatus.php
src/Util/Lock.php [deleted file]
src/Util/Lock/DatabaseLockDriver.php [deleted file]
src/Util/Lock/ILockDriver.php [deleted file]
src/Util/Lock/MemcacheLockDriver.php [deleted file]
src/Util/Lock/SemaphoreLockDriver.php [deleted file]