(self,name,**kw)
@param name: str 对象的名称\n
        @param _lock: int 对象锁  为1时表示对象被锁定无法进行修改\n
def __init__(self,name,**kw):
        '''
        @param name: str 对象的名称\n
        @param _lock: int 对象锁  为1时表示对象被锁定无法进行修改\n
        '''
        self._name = name
        self._locked = False
        self._timestamp = 0
        self._cas = kw.get("cas",False)
        self._cache = kw.get("cache",True)
        self._timeout = kw.get("timeout",CACHE_TIMEOUT)
        if self._cas:
            self.lock()
def __init__ ( self , name , * * kw ) : self . _name = name self . _locked = False self . _timestamp = 0 self . _cas = kw . get ( "cas" , False ) self . _cache = kw . get ( "cache" , True ) self . _timeout = kw . get ( "timeout" , CACHE_TIMEOUT ) if self . _cas : self . lock ( )