/**
  * 获取实例
  *
  * @return Bll_House_UpDown_RedisQueueBll
  */
 public static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Esempio n. 2
0
 /**
  * 初始化
  */
 protected function init()
 {
     $this->initOptions();
     $this->cursor = Bll_House_UpDown_DispatcherCursorBll::get_instance();
 }