(self,key)
return memclient.mclient.get(key)
获取对象值
获取对象值
获取对象值
def get(self,key):
        '''获取对象值
        '''
        if self._cas and not self.isLocked():
            for _ in xrange(10):
                if not self.lock():
                    gevent.sleep(0.2)
                    continue
                break
            else:
                return None
        key = self.produceKey(key)
        return memclient.mclient.get(key)
def get ( self , key ) : if self . _cas and not self . isLocked ( ) : for _ in xrange ( 10 ) : if not self . lock ( ) : gevent . sleep ( 0.2 ) continue break else : return None key = self . produceKey ( key ) return memclient . mclient . get ( key )