Enum CacheMode
Specifies the startup mode (also known as isolation level) of Cache.
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
[Serializable]
public enum CacheMode
Remarks
This enumeration allows you to control the the startup mode of Cache programmatically. The startup mode OutProc corresponds to a High isolation level implying that the Cache runs in NCache service's process. Similarly InProc implies that Cache is inproc to the applications. InProc is equal to specfying no mode at all, and in that case the mode specified in cache configuration is used.
An isolated cache can be shared between applications on the same node. Morever an isolated cache's lifetime is explicitly controlled by using NCache Manager application.
Name | Description |
---|---|
Default | Use the startup mode specified in the configuration. |
InProc | Start the cache inproc, i.e., with a low isolation level. |
OutProc | Start the cache outproc, i.e., with a high isolation level. |