Class QueryCachePropertiesEntity

java.lang.Object
com.arangodb.entity.QueryCachePropertiesEntity

public final class QueryCachePropertiesEntity extends Object
Author:
Mark Vollmary
  • Constructor Details

    • QueryCachePropertiesEntity

      public QueryCachePropertiesEntity()
  • Method Details

    • 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