ArangoDB-PHP API Documentation
  • Namespace
  • Class
  • Deprecated

Namespaces

  • triagens
    • ArangoDb

Classes

  • AdminHandler
  • AqlUserFunction
  • Autoloader
  • Batch
  • BatchPart
  • BindVars
  • Collection
  • CollectionHandler
  • Connection
  • ConnectionOptions
  • Cursor
  • Database
  • DefaultValues
  • Document
  • DocumentHandler
  • Edge
  • EdgeDefinition
  • EdgeHandler
  • Endpoint
  • Export
  • ExportCursor
  • Graph
  • GraphHandler
  • Handler
  • HttpHelper
  • HttpResponse
  • QueryCacheHandler
  • QueryHandler
  • Statement
  • TraceRequest
  • TraceResponse
  • Transaction
  • Traversal
  • UpdatePolicy
  • UrlHelper
  • Urls
  • User
  • UserHandler
  • ValueValidator
  • Vertex
  • VertexHandler

Exceptions

  • ClientException
  • ConnectException
  • Exception
  • ServerException

Class QueryCacheHandler

A base class for REST-based handlers

triagens\ArangoDb\Handler
Extended by triagens\ArangoDb\QueryCacheHandler
Namespace: triagens\ArangoDb
Package: triagens\ArangoDb
Since: 0.2
Located at QueryCacheHandler.php

Methods summary

public
# enable( )

Globally turns on the AQL query result cache

Globally turns on the AQL query result cache

Throws

triagens\ArangoDb\Exception
public
# disable( )

Globally turns off the AQL query result cache

Globally turns off the AQL query result cache

Throws

triagens\ArangoDb\Exception
public
# enableDemandMode( )

Globally sets the AQL query result cache to demand mode

Globally sets the AQL query result cache to demand mode

Throws

triagens\ArangoDb\Exception
public
# clear( )

Clears the AQL query result cache for the current database

Clears the AQL query result cache for the current database

Throws

triagens\ArangoDb\Exception
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

triagens\ArangoDb\Exception
public array
# getProperties( )

Returns the AQL query result cache properties

Returns the AQL query result cache properties

Returns

array

Throws

triagens\ArangoDb\Exception

Methods inherited from triagens\ArangoDb\Handler

__construct(), getConnection(), getConnectionOption(), includeOptionsInBody(), includeOptionsInParams(), json_encode_wrapper(), makeCollection()

ArangoDB-PHP API Documentation API documentation generated by ApiGen