public class QueryCachePropertiesEntity extends BaseEntity
Modifier and Type | Class and Description |
---|---|
static class |
QueryCachePropertiesEntity.CacheMode |
Constructor and Description |
---|
QueryCachePropertiesEntity() |
Modifier and Type | Method and Description |
---|---|
Long |
getMaxResults()
Returns the maximum number of query results that will be stored per
database-specific cache.
|
QueryCachePropertiesEntity.CacheMode |
getMode()
Returns the mode the AQL query cache operates in.
|
void |
setMaxResults(Long maxResults)
Sets the maximum number of query results that will be stored per
database-specific cache.
|
void |
setMode(QueryCachePropertiesEntity.CacheMode mode)
Sets the mode the AQL query cache operates in.
|
getCode, getErrorMessage, getErrorNumber, getEtag, getRequestId, getStatusCode, isBatchResponseEntity, isError, isNotModified, isUnauthorized, setCode, setError, setErrorMessage, setErrorNumber, setEtag, setRequestId, setStatusCode, toString
public QueryCachePropertiesEntity.CacheMode getMode()
public void setMode(QueryCachePropertiesEntity.CacheMode mode)
mode
- The mode is one of the following values: "off", "on" or
"demand".public Long getMaxResults()
public void setMaxResults(Long maxResults)
maxResults
- the maximum numberCopyright © 2012–2016 ArangoDB GmbH. All rights reserved.