Constructor
Parameters: | null|array|Traversable|DbaOptions – |
---|---|
Throws ExceptionExceptionInterface: | |
Set options.
Parameters: | array|Traversable|DbaOptions – |
---|---|
Return type: | Apc |
See : |
Get available space in bytes
Return type: | int|float |
---|
Flush the whole storage
Return type: | bool |
---|
Remove items by given namespace
Parameters: | string – |
---|---|
Return type: | bool |
Remove items matching given prefix
Parameters: | string – |
---|---|
Return type: | bool |
Optimize the storage
Return type: | bool |
---|---|
Return type: | ExceptionRuntimeException |
Internal method to get an item.
Parameters: |
|
---|---|
Return type: | mixed Data on success, null on failure |
Throws : | ExceptionExceptionInterface |
Internal method to test if an item exists.
Parameters: | string – |
---|---|
Return type: | bool |
Throws : | ExceptionExceptionInterface |
Internal method to store an item.
Parameters: |
|
---|---|
Return type: | bool |
Throws : | ExceptionExceptionInterface |
Add an item.
Parameters: |
|
---|---|
Return type: | bool |
Throws : | ExceptionExceptionInterface |
Internal method to remove an item.
Parameters: | string – |
---|---|
Return type: | bool |
Throws : | ExceptionExceptionInterface |
Internal method to get capabilities of this adapter
Return type: | Capabilities |
---|