Class ProviderCacheItem
Inheritance
System.Object
ProviderCacheItem
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ProviderCacheItem
ProviderCacheItem(Object)
Initializes an instance of CacheItem.
Declaration
public ProviderCacheItem(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
AbsoluteExpiration
Gets/Sets absolute expiration.
Declaration
public DateTime AbsoluteExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Dependency
Gets/Sets the CacheDepedency.
Declaration
public CacheDependency Dependency { get; set; }
Property Value
Type | Description |
---|---|
CacheDependency |
Group
Gets/Sets the group of cache item.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsJavaReadThrough
Gets/Sets ReadThruough 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 item.
Declaration
public CacheItemPriority ItemPriority { get; set; }
Property Value
Type | Description |
---|---|
CacheItemPriority |
NamedTags
Gets/Sets the Tags for the cache item.
Declaration
public NamedTagsDictionary NamedTags { get; set; }
Property Value
Type | Description |
---|---|
NamedTagsDictionary |
ResyncItemOnExpiration
Gets/Sets the flag which indicates whether item should be reloaded on expiration if ReadThru provider is specified.
Declaration
public bool ResyncItemOnExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ResyncProviderName
Gets/Sets Provider name for re-synchronization of cache
Declaration
public string ResyncProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SlidingExpiration
Gets/Sets the sliding expiration.
Declaration
public TimeSpan SlidingExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
SubGroup
Gets/Sets the sub group of cache item.
Declaration
public string SubGroup { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Tags
Gets/Sets the Tags for the cache item.
Declaration
public Tag[] Tags { get; set; }
Property Value
Type | Description |
---|---|
Tag[] |
Value
Gets/Sets the value of CacheItem.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |