internal override void PostInit()
 {
     _lockReferenceIdGenerator = GetContext().GetClient().GetLockReferenceIdGenerator();
     if (_nearCacheInitialized.CompareAndSet(false, true))
     {
         var nearCacheConfig = GetContext().GetClientConfig().GetNearCacheConfig(GetName());
         if (nearCacheConfig == null)
         {
             return;
         }
         _nearCache = new ClientNearCache(GetName(), ClientNearCacheType.Map, GetContext(), nearCacheConfig);
     }
 }
Example #2
0
 protected internal override void OnInitialize()
 {
     _lockReferenceIdGenerator = Client.LockReferenceIdGenerator;
 }
 internal override void PostInit()
 {
     base.PostInit();
     _lockReferenceIdGenerator = GetContext().GetClient().GetLockReferenceIdGenerator();
 }
Example #4
0
 protected override void OnInitialize()
 {
     base.OnInitialize();
     _lockReferenceIdGenerator = GetContext().GetClient().GetLockReferenceIdGenerator();
 }