Package com.ibatis.sqlmap.engine.config
Class CacheModelConfig
java.lang.Object
com.ibatis.sqlmap.engine.config.CacheModelConfig
The Class CacheModelConfig.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFlushTriggerStatement
(String statement) Adds the flush trigger statement.Gets the cache model.void
setControllerProperties
(Properties cacheProps) Sets the controller properties.void
setFlushInterval
(long hours, long minutes, long seconds, long milliseconds) Sets the flush interval.
-
Method Details
-
setFlushInterval
public void setFlushInterval(long hours, long minutes, long seconds, long milliseconds) Sets the flush interval.- Parameters:
hours
- the hoursminutes
- the minutesseconds
- the secondsmilliseconds
- the milliseconds
-
addFlushTriggerStatement
Adds the flush trigger statement.- Parameters:
statement
- the statement
-
getCacheModel
Gets the cache model.- Returns:
- the cache model
-
setControllerProperties
Sets the controller properties.- Parameters:
cacheProps
- the new controller properties
-