public function map($key,$obj = null,$need_cache = false){
        $this->clearCache($key);
        if (is_null($obj)) {
            $obj = $key;
        }
        $this->objects[$key] = [$obj,$need_cache];
        return $this;
    }