Class QueryCacheHandler
A base class for REST-based handlers
-
triagens\ArangoDb\Handler
-
triagens\ArangoDb\QueryCacheHandler
Methods summary
public
|
#
enable( )
Globally turns on the AQL query result cache
Globally turns on the AQL query result cache
Throws
|
public
|
#
disable( )
Globally turns off the AQL query result cache
Globally turns off the AQL query result cache
Throws
|
public
|
#
enableDemandMode( )
Globally sets the AQL query result cache to demand mode
Globally sets the AQL query result cache to demand mode
Throws
|
public
|
#
clear( )
Clears the AQL query result cache for the current database
Clears the AQL query result cache for the current database
Throws
|
public
array
|
#
setProperties( array $properties )
Adjusts the global AQL query result cache properties
Adjusts the global AQL query result cache properties
Parameters
- $properties
- the query result cache properties.
the following properties can be used:
- maxResults: maximum number of results
that the query result cache will hold
per database
- mode: turns the query result cache on or off,
or sets it to demand mode. Possible values are
"on", "off", or "demand".
Returns
array
Throws
|
public
array
|
#
getProperties( )
Returns the AQL query result cache properties
Returns the AQL query result cache properties
Returns
array
Throws
|