SemaphoreStore
class SemaphoreStore implements StoreInterface
SemaphoreStore is a StoreInterface implementation using Semaphore as store engine.
Methods
static bool
isSupported()
Returns whether or not the store is supported.
__construct()
No description
Details
waitAndSave(Key $key)
Waits until a key becomes free, then stores the resource.
If the store does not support this feature it should throw a NotSupportedException.
putOffExpiration(Key $key, $ttl)
Extends the ttl of a resource.
If the store does not support this feature it should throw a NotSupportedException.