BlockingStoreInterface
interface BlockingStoreInterface implementsPersistingStoreInterface
Methods
void
save(Key$key)
Stores the resource if it's not locked by someone else.
bool
exists(Key$key)
Returns whether or not the resource exists in the storage.
void
putOffExpiration(Key$key,float$ttl)
Extends the TTL of a resource.
void
waitAndSave(Key$key)
Waits until a key becomes free, then stores the resource.