PHP Interface Metaphore\Store\LockStoreInterface

Show file Open project: sobstel/metaphore

Public Methods

Method Description
add ( $key, $value, $ttl ) : boolean Add new value only if it's not already stored.
delete ( $key ) : boolean

Method Details

add() public method

This operation should be atomic.
public add ( $key, $value, $ttl ) : boolean
return boolean

delete() public method

public delete ( $key ) : boolean
return boolean