Constructor
| Parameters: | null|array|Traversable|ApcOptions – |
|---|---|
| Throws ExceptionExceptionInterface: | |
Set options.
| Parameters: | array|Traversable|ApcOptions – |
|---|---|
| Return type: | XCache |
| See : |
Get available space in bytes
| Return type: | int|float |
|---|
Remove items by given namespace
| Parameters: | string – |
|---|---|
| Return type: | boolean |
Remove items matching given prefix
| Parameters: | string – |
|---|---|
| Return type: | boolean |
Flush the whole storage
| Return type: | boolean |
|---|
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: | boolean |
| Throws : | ExceptionExceptionInterface |
Get metadata of an item.
| Parameters: | string – |
|---|---|
| Return type: | array|boolean Metadata on success, false on failure |
| Throws : | ExceptionExceptionInterface |
Internal method to store an item.
| Parameters: |
|
|---|---|
| Return type: | boolean |
| Throws : | ExceptionExceptionInterface |
Internal method to remove an item.
| Parameters: | string – |
|---|---|
| Return type: | boolean |
| Throws : | ExceptionExceptionInterface |
Internal method to increment an item.
| Parameters: |
|
|---|---|
| Return type: | int|boolean The new value on success, false on failure |
| Throws : | ExceptionExceptionInterface |
Internal method to decrement an item.
| Parameters: |
|
|---|---|
| Return type: | int|boolean The new value on success, false on failure |
| Throws : | ExceptionExceptionInterface |
Internal method to get capabilities of this adapter
| Return type: | Capabilities |
|---|
Init authentication before calling admin functions
| Return type: | void |
|---|