Package com.ibatis.sqlmap.engine.config
Class CacheModelConfig
java.lang.Object
com.ibatis.sqlmap.engine.config.CacheModelConfig
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFlushTriggerStatement(String statement) Adds the flush trigger statement.Gets the cache model.voidsetControllerProperties(Properties cacheProps) Sets the controller properties.voidsetFlushInterval(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
-
setControllerProperties
Sets the controller properties.- Parameters:
cacheProps- the new controller properties
-