Class DataTypeAttributes
DataTypeAttributes contains the information about the DataType attributes.
Inheritance
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class DataTypeAttributes
Constructors
DataTypeAttributes()
Initializes the DataTypeAttributes instance.
Declaration
public DataTypeAttributes()
Properties
Dependency
The file or cache key dependencies for the DataType. When any dependency changes, the object becomes invalid and is removed from the cache. If there are no dependencies, this property contains a null reference.
Declaration
public CacheDependency Dependency { get; set; }
Property Value
Type | Description |
---|---|
CacheDependency | The file or cache key dependencies for the DataType. |
Expiration
Specifies the expiration mechanism for DataType.
Declaration
public Expiration Expiration { get; set; }
Property Value
Type | Description |
---|---|
Expiration | Specifies the expiration mechanism for DataType. |
Group
The group to which the DataType is associated. It can be queryed on the basis of Groups.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String | Name of group. |
NamedTags
NamedTags information associated with the DataType, it can be queried on the basis of NamedTags provided.
Declaration
public NamedTagsDictionary NamedTags { get; set; }
Property Value
Type | Description |
---|---|
NamedTagsDictionary | NamedTags information associated with the DataType, it can be queried on the basis of NamedTags provided. |
Priority
Relative priority for DataType which is kept under consideration whenever cache starts to free up space and evicts items.
Declaration
public CacheItemPriority Priority { get; set; }
Property Value
Type | Description |
---|---|
CacheItemPriority | Specifies the relative priority of items stored in the cache. |
ResyncOptions
ResyncOptions specific to the DataType.
Declaration
public ResyncOptions ResyncOptions { get; set; }
Property Value
Type | Description |
---|---|
ResyncOptions | It contains information for the items that would be resynced after expiration from the Read-Through Provider. |
Tags
Tag information associated with the DataType, it can be queried on the basis of Tags provided.
Declaration
public Tag[] Tags { get; set; }
Property Value
Type | Description |
---|---|
Tag[] | A string based identifier that can be associated with cache items. |