|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IQueryConfiguration
Represents possible options that can be passed to the CMS during a query. The options are stateful when passed to the CMS, and as such only needs to be passed once.
| Method Summary | |
|---|---|
java.lang.Integer |
getCacheTimeout()
Returns how long in seconds before the cached query expires on the CMS |
boolean |
isClearingCache()
Whether to clear the query's cache. |
java.lang.Boolean |
isTimeoutResetOnQuery()
If true, the TIMEOUT value is reset to its inital value on subsequent queries that don't specify a TIMEOUT option. |
java.lang.Boolean |
isTimerResetOnQuery()
If true, the timer resets itself on every subsequent query. |
void |
setCacheTimeout(java.lang.Integer timeout)
Sets how long in seconds before the cached query expires on the CMS |
void |
setClearCache(boolean clear)
Sets whether the query's cache should be cleared. |
void |
setTimeoutResetOnQuery(java.lang.Boolean resetTimeout)
Sets whether of or not the TIMEOUT should reset to it's inital value or not |
void |
setTimerResetOnQuery(java.lang.Boolean timerOnQuery)
Sets whether the timer should reset on each subsequent query. |
| Method Detail |
|---|
java.lang.Integer getCacheTimeout()
void setCacheTimeout(java.lang.Integer timeout)
timeout - The timeout value in seconds. If null, the TIMEOUT configuration is removed.java.lang.Boolean isTimeoutResetOnQuery()
void setTimeoutResetOnQuery(java.lang.Boolean resetTimeout)
timeoutOnQuery - Whether to reset the timeout value or not. If null, the RESETTIMEOUTONQUERY
configuration is removed.java.lang.Boolean isTimerResetOnQuery()
void setTimerResetOnQuery(java.lang.Boolean timerOnQuery)
timerOnQuery - Whether to reset the timer on each subsequent query or not. If null, the
RESETTIMERONQUERY configuration is removed.boolean isClearingCache()
void setClearCache(boolean clear)
clear -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||