Class CacheStreamAttributes
CacheStreamAttributes Class contains information about the CacheStream attributes.
Inheritance
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class CacheStreamAttributes
Constructors
CacheStreamAttributes(StreamMode)
Creates new instance of CacheStreamAttributes.
Declaration
public CacheStreamAttributes(StreamMode streamMode)
Parameters
Type | Name | Description |
---|---|---|
StreamMode | streamMode | Specifies StreamMode of the CacheStream. |
Properties
CacheDependency
Specifies CacheDependency, which can be files, directories, or keys to other objects in application's cache. This class cannot be inherited.
Declaration
public CacheDependency CacheDependency { get; set; }
Property Value
Type | Description |
---|---|
CacheDependency | Specifies CacheDependency, which can be files, directories, or keys to other objects in application's cache. |
CacheItemPriority
Specifies the CacheItemPriority of the CacheStream.
Declaration
public CacheItemPriority CacheItemPriority { get; set; }
Property Value
Type | Description |
---|---|
CacheItemPriority | This property specifies the relative priority of items stored in the cache. |
Expiration
Specifies Expiration for the CacheStream. After the specified timespan, the item expires from cache.
Declaration
public Expiration Expiration { get; set; }
Property Value
Type | Description |
---|---|
Expiration | It specifies the time after which the item is expired from the cache. |
Group
Specifies group for the CacheStream.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies group for the CacheStream. |
StreamMode
Specifies StreamMode of the CacheStream.
Declaration
public StreamMode StreamMode { get; set; }
Property Value
Type | Description |
---|---|
StreamMode | It specifies modes of the CacheStream. |