| 187 | } |
| 188 | |
| 189 | bool SSDBClient::GetData( const std::string& key, std::string& type, RedisResult& results ) |
| 190 | { |
| 191 | Base::Mutex::ScopedLock scopedLock(m_oMutex); |
| 192 | if (!Type(key, type)) return false; |
| 193 | |
| 194 | std::string realKey = RealKey(key); |
| 195 | |
| 196 | m_pModelFactory.reset(new SSDBModelFactory(this->m_Client)); |
| 197 | return m_pModelFactory->GetSSDBModel(type)->GetData(realKey, results); |
| 198 | } |
| 199 | |
| 200 | bool SSDBClient::DelKey( const std::string& key ) |
| 201 | { |
no test coverage detected