Package com.arangodb.entity
Class QueryCachePropertiesEntity
- java.lang.Object
-
- com.arangodb.entity.QueryCachePropertiesEntity
-
public final class QueryCachePropertiesEntity extends Object
- Author:
- Mark Vollmary
- See Also:
- API Documentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryCachePropertiesEntity.CacheMode
-
Constructor Summary
Constructors Constructor Description QueryCachePropertiesEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getMaxResults()
QueryCachePropertiesEntity.CacheMode
getMode()
void
setMaxResults(Long maxResults)
void
setMode(QueryCachePropertiesEntity.CacheMode mode)
-
-
-
Method Detail
-
getMode
public QueryCachePropertiesEntity.CacheMode getMode()
- Returns:
- the mode the AQL query cache operates in. The mode is one of the following values: off, on or demand
-
setMode
public void setMode(QueryCachePropertiesEntity.CacheMode mode)
- Parameters:
mode
- the mode the AQL query cache operates in. The mode is one of the following values: off, on or demand
-
getMaxResults
public Long getMaxResults()
- Returns:
- the maximum number of query results that will be stored per database-specific cache
-
setMaxResults
public void setMaxResults(Long maxResults)
- Parameters:
maxResults
- the maximum number of query results that will be stored per database-specific cache
-
-