PersistingStoreInterface
interface PersistingStoreInterface
Methods
void
save(Key$key,float$ttlInSecond)
Stores the resource if the semaphore is not full.
void
delete(Key$key)
Removes a resource from the storage.
bool
exists(Key$key)
Returns whether or not the resource exists in the storage.
void
putOffExpiration(Key$key,float$ttlInSecond)
Extends the TTL of a resource.