Esempio n. 1
0
 /**
  * Returns class instance
  *
  * @return BOL_DbCacheService
  */
 public static function getInstance()
 {
     if (!isset(self::$classInstance)) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Esempio n. 2
0
 public function dbCacheProcess()
 {
     // Delete expired db cache entry
     BOL_DbCacheService::getInstance()->deleteExpiredList();
 }
Esempio n. 3
0
 /**
  *
  * @return OW_CacheService
  */
 public static function getCacheService()
 {
     return BOL_DbCacheService::getInstance();
     //TODO make configurable
 }