(self)
删除memcache中的数据
删除memcache中的数据
删除memcache中的数据
def mdelete(self):
        '''删除memcache中的数据
        '''
        nowdict = dict(self.__dict__)
        keys = [keyname for keyname in nowdict.keys() if not keyname.startswith('_')]
        keys = [self.produceKey(key) for key in keys]
        memclient.mclient.delete_multi(keys)
def mdelete ( self ) : nowdict = dict ( self . __dict__ ) keys = [ keyname for keyname in nowdict . keys ( ) if not keyname . startswith ( '_' ) ] keys = [ self . produceKey ( key ) for key in keys ] memclient . mclient . delete_multi ( keys )