Method SetNetworkCacheSize
SetNetworkCacheSize(long)
Sets the size (in bytes) of the in-process network cache that is used to return deep copies of objects, or zero to disable the network cache. Overrides the config file's networkCacheSizeBytes setting for this cache.
public CacheBuilder<TKey, TValue> SetNetworkCacheSize(long sizeInBytes)
Parameters
sizeInBytes
longTotal size of the network cache, in bytes.
Returns
- CacheBuilder<TKey, TValue>
A builder object that can be used to further configure the cache.