Table of Contents

Method SetNetworkCacheSize

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

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 long

Total size of the network cache, in bytes.

Returns

CacheBuilder<TKey, TValue>

A builder object that can be used to further configure the cache.