Class CacheModelConfig

java.lang.Object
com.ibatis.sqlmap.engine.config.CacheModelConfig

public class CacheModelConfig extends Object
The Class CacheModelConfig.
  • Method Details

    • setFlushInterval

      public void setFlushInterval(long hours, long minutes, long seconds, long milliseconds)
      Sets the flush interval.
      Parameters:
      hours - the hours
      minutes - the minutes
      seconds - the seconds
      milliseconds - the milliseconds
    • addFlushTriggerStatement

      public void addFlushTriggerStatement(String statement)
      Adds the flush trigger statement.
      Parameters:
      statement - the statement
    • getCacheModel

      public CacheModel getCacheModel()
      Gets the cache model.
      Returns:
      the cache model
    • setControllerProperties

      public void setControllerProperties(Properties cacheProps)
      Sets the controller properties.
      Parameters:
      cacheProps - the new controller properties