Class ProviderItemBase
The ProviderItemBase is just like a CacheItem, but it has some limited fields.
Inheritance
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ProviderItemBase
Properties
BitSet
Declaration
public byte BitSet { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Dependency
Gets/Sets the cache dependency.
Declaration
public CacheDependency Dependency { get; set; }
Property Value
Type | Description |
---|---|
CacheDependency | Tracks cache dependencies, which can be files, directories, or keys to other objects in application's cache. This class cannot be inherited. |
Expiration
Gets/Sets expiration of cache items in the form of Expiration.
Declaration
public Expiration Expiration { get; set; }
Property Value
Type | Description |
---|---|
Expiration | Value of time in the form of TimeSpan that shows after how much time, the item in cache is to be expired. |
Group
Gets/Sets the group of cache item.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String | Group of cacheitem. |
IsJavaReadThrough
Gets/Sets Read-Through, if ReadThru is a type of Java.
Declaration
public bool IsJavaReadThrough { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemPriority
Gets/Sets the priority of the item.
Declaration
public CacheItemPriority ItemPriority { get; set; }
Property Value
Type | Description |
---|---|
CacheItemPriority | Relative priority of items stored in the cache. |
NamedTags
Gets/Sets the NamedTags for the cache items.
Declaration
public NamedTagsDictionary NamedTags { get; set; }
Property Value
Type | Description |
---|---|
NamedTagsDictionary | Represents a dictionary that can be associated with cache items to provide extra information. |
ResyncOptions
Gets/Sets ResyncOptions for cache items.
Declaration
public ResyncOptions ResyncOptions { get; set; }
Property Value
Type | Description |
---|---|
ResyncOptions | This property contains information for the items that would be resynced after expiration from the Read-Through provider. |
SubGroup
Gets/Sets the sub group of the cache item.
Declaration
[Obsolete]
public string SubGroup { get; set; }
Property Value
Type | Description |
---|---|
System.String | SubGroup of the cache item. |
Tags
Gets/Sets the tags for the cache item.
Declaration
public Tag[] Tags { get; set; }
Property Value
Type | Description |
---|---|
Tag[] | Represents a string based identifier that can be associated with the cache items so that they are logically grouped together and can be retrieved efficiently. |