예제 #1
0
 protected internal virtual Request setQueryCachePropertiesRequest
     (QueryCachePropertiesEntity properties)
 {
     return(new Request(name, RequestType
                        .PUT, ArangoDBConstants.PATH_API_QUERY_CACHE_PROPERTIES).
            setBody(this.executor.Serialize(properties)));
 }
예제 #2
0
 /// <summary>Changes the configuration for the AQL query cache.</summary>
 /// <remarks>
 /// Changes the configuration for the AQL query cache. Note: changing the properties may invalidate all results in
 /// the cache.
 /// </remarks>
 /// <seealso><a href=
 /// *      "https://docs.arangodb.com/current/HTTP/AqlQueryCache/index.html#globally-adjusts-the-aql-query-result-cache-properties">API
 /// *      Documentation</a></seealso>
 /// <param name="properties">properties to be set</param>
 /// <returns>current set of properties</returns>
 /// <exception cref="ArangoDBException"/>
 /// <exception cref="ArangoDBException"/>
 public virtual QueryCachePropertiesEntity setQueryCacheProperties
     (QueryCachePropertiesEntity properties)
 {
     return(executor.execute(this.setQueryCachePropertiesRequest(properties),
                             typeof(QueryCachePropertiesEntity)));
 }