/// <summary>
 /// Returns an immutable version of this configuration.
 /// </summary>
 /// <returns><see cref="NearCacheConfigReadOnly"/></returns>
 public virtual NearCacheConfigReadOnly GetAsReadOnly()
 {
     if (_readOnly == null)
     {
         _readOnly = new NearCacheConfigReadOnly(this);
     }
     return(_readOnly);
 }
 public virtual NearCacheConfigReadOnly GetAsReadOnly()
 {
     if (_readOnly == null)
     {
         _readOnly = new NearCacheConfigReadOnly(this);
     }
     return _readOnly;
 }