code: public void setCacheMinutes(int iMinutes)
      {
          if (iMinutes == -1)
              iMinutes = DEFAULT_CACHED_MINUTES;      // Default cache time.
          cacheMinutes = iMinutes;
          if (iMinutes == 0)
          {
              if (timerCache != null)
              {
                  timerCache.cancel();
                  timerCache = null;
                  this.stopCache();
              }
          }
          else
          {
              if (timerCache != null)
              {
                  timerCache.cancel();   //m_timerCache.setDelay(iMilliseconds);
              }
            // Set up the timer for the first time.
              this.startCache();
              timerTask = new DBTimerTask();
              timerCache = new java.util.Timer();
              timerCache.schedule(timerTask, cacheMinutes * 60 * 1000);
          }
      }
docs: This will set this database to start caching records until they haven't been used for
  iMinutes minutes.
  @param iMinutes free tables once they haven't been accessed, set to 0 to turn off cache and free cached tables.