public NearCacheConfig(NearCacheConfig config)
 {
     _name               = config.GetName();
     _evictionPolicy     = config.GetEvictionPolicy();
     _inMemoryFormat     = config.GetInMemoryFormat();
     _invalidateOnChange = config.IsInvalidateOnChange();
     _maxIdleSeconds     = config.GetMaxIdleSeconds();
     _maxSize            = config.GetMaxSize();
     _timeToLiveSeconds  = config.GetTimeToLiveSeconds();
 }
Beispiel #2
0
 public NearCacheConfig(NearCacheConfig config)
 {
     name               = config.GetName();
     evictionPolicy     = config.GetEvictionPolicy();
     inMemoryFormat     = config.GetInMemoryFormat();
     invalidateOnChange = config.IsInvalidateOnChange();
     maxIdleSeconds     = config.GetMaxIdleSeconds();
     maxSize            = config.GetMaxSize();
     timeToLiveSeconds  = config.GetTimeToLiveSeconds();
     cacheLocalEntries  = config.IsCacheLocalEntries();
 }
 public NearCacheConfig(NearCacheConfig config)
 {
     name = config.GetName();
     evictionPolicy = config.GetEvictionPolicy();
     inMemoryFormat = config.GetInMemoryFormat();
     invalidateOnChange = config.IsInvalidateOnChange();
     maxIdleSeconds = config.GetMaxIdleSeconds();
     maxSize = config.GetMaxSize();
     timeToLiveSeconds = config.GetTimeToLiveSeconds();
     cacheLocalEntries = config.IsCacheLocalEntries();
 }