QueryResultsCacheControl
Used to enable or disable caching by QueryResultsCache .
This mechanism was introduced to allow fixtures module to be able to disable the QueryResultsCache while fixtures are being installed.
API
QueryResultsCacheControl.java
interface QueryResultsCacheControl {
boolean isIgnoreCache() (1)
}
1 | isIgnoreCache()
Whether the QueryResultsCache should be disabled, in other words to stop using any cached results. |
Members
isIgnoreCache()
Whether the QueryResultsCache should be disabled, in other words to stop using any cached results.
Implementation
The fixtures module provides an implementation, QueryResultsCacheControlForFixtures. This will cause the cache to be ignored while fixtures are being installed.