bool | True if the cache can be used. |
string | $key | Key to retrieve. |
wild | $default | Optional value to return if the key is not found. By default, returns null. |
wild | Cache value (on cache hit) or default value (on cache miss). |
string | $key | Key to set. |
wild | $value | Value to set. |
int|null | $ttl | Optional TTL. |
This method is not documented.
list<string> | $keys | List of cache keys to retrieve. |
dict<string, wild> | Dictionary of keys that were found in the cache. Keys not present in the cache are omitted, so you can detect a cache miss. |
This method is not documented.
dict<string, | $keys | wild> Map of cache keys to values. |
int|null | $ttl | TTL for cache keys, in seconds. |
This method is not documented.
list<string> | $keys | List of keys to delete. |
This method is not documented.
list<PhutilKeyValueCache> | $caches | Ordered list of key-value caches. |