#.g6ddlZddlZddlmZGddeZy)N) CommandTypecdeZdZdZeZejZfdZ dZ dZ dZ xZ S)ReferencesCacheNc|j5|jtt|||_ddd|jS#1swY|jSxYwN)_lock _instancesuperr__new__)cls __class__s D:\a/1/s/src/ruby/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/../../../../Binaries/Python\javonet\core\referenceCache\ReferencesCache.pyr zReferencesCache.__new__ sR YY I}}$ %os CC H  I}} I}}s %AAc|j5ttj}||j|<|cdddS#1swYyxYwr)rstruuiduuid4references_cache)selfobject_referenceuuid_s rcache_referencezReferencesCache.cache_referencesA ZZ  %E+;D ! !% (   s .AAc,|jtjk7r!tdt |jz|j 5 |j |jdcdddS#t$r tdwxYw#1swYyxYw)Nz8Trying to dereference Python command with command_type: rObject not found in references) command_typer Reference ExceptionrrrpayloadKeyError)rcommands rresolve_referencez!ReferencesCache.resolve_references   ;#8#8 8JSQXQeQeMffh h ZZ B B,,W__Q-?@ B B B @AA B B Bs B  A22BB  Bc|j5 |j|= dddy#t$r tdwxYw#1swYyxYw)Nrr)rrrr)rreference_guids rdelete_referencez ReferencesCache.delete_reference!s^ ZZ B B)).9 B B B @AA B  B Bs> &;>A)__name__ __module__ __qualname__r dictr threadingLockrr rr r# __classcell__)r s@rrrs4Iv INN E  BBr)rr(javonet.utils.CommandTyperobjectrr+rr/s 1!Bf!Br+