EKfE>ddlZddlZddlmZGddeZdS)N) CommandTypecfeZdZdZeZejZfdZ dZ dZ dZ xZ S)ReferencesCacheNc|j5|j-tt|||_dddn #1swxYwY|jSN)_lock _instancesuperr__new__)cls __class__s D:\a/1/s/src/ruby/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/../../../../Binaries/Python/Windows/X64\javonet\core\referenceCache\ReferencesCache.pyr zReferencesCache.__new__ s Y I I}$ %os ; ; C CC H H  I I I I I I I I I I I I I I I}s5A  AAc|j5ttj}||j|<|cdddS#1swxYwYdSr)rstruuiduuid4references_cache)selfobject_referenceuuid_s rcache_referencezReferencesCache.cache_references Z   %%E+;D !% (                  s,AAAc"|jtjkr$tdt |jz|j5 |j|jdcdddS#t$rtdwxYw#1swxYwYdS)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 8JSQXQeMfMffhh h Z B B B,W_Q-?@ B B B B B B B B B B B @AAA B B B B B B B B B B Bs$BA''BBB Bc|j5 |j|= ddddS#t$rtdwxYw#1swxYwYdS)Nrr)rrrr)rreference_guids rdelete_referencez ReferencesCache.delete_reference!s Z B B B).9 B B B B B B B B B B B @AAA B  B B B B B B B B B Bs= :=AA)__name__ __module__ __qualname__r dictr threadingLockrr rr r# __classcell__)r s@rrrsItvv IN  E  BBBBBBBBBBr)rr(javonet.utils.CommandTyperobjectrr+rr/sj 111111!B!B!B!B!Bf!B!B!B!B!Br+