• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Class ProviderDataTypeItem<TValue>

ProviderDataTypeItem is just like a CacheItem, but it has some limited fields

Inheritance
System.Object
ProviderItemBase
ProviderDataTypeItem<TValue>
Inherited Members
ProviderItemBase.Group
ProviderItemBase.BitSet
ProviderItemBase.SubGroup
ProviderItemBase.Tags
ProviderItemBase.NamedTags
ProviderItemBase.Dependency
ProviderItemBase.ItemPriority
ProviderItemBase.IsJavaReadThrough
ProviderItemBase.Expiration
ProviderItemBase.ResyncOptions
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ProviderDataTypeItem<TValue> : ProviderItemBase, IProviderDataTypeItem
Type Parameters
Name Description
TValue

Constructors

ProviderDataTypeItem(TValue)

Initializes an instance of the class DataTypeItem.

Declaration
public ProviderDataTypeItem(TValue data)
Parameters
Type Name Description
TValue data

Data object.

ProviderDataTypeItem(TValue, DistributedDataType)

Initializes an instance of CacheItem.

Declaration
public ProviderDataTypeItem(TValue data, DistributedDataType type)
Parameters
Type Name Description
TValue data

Data object.

DistributedDataType type

Contains the type of distributed data type.

ProviderDataTypeItem(DistributedDataType)

Initializes an instance of the CacheItem.

Declaration
public ProviderDataTypeItem(DistributedDataType type)
Parameters
Type Name Description
DistributedDataType type

Contains the type of distributed data type.

ProviderDataTypeItem(Int64)

Initializes an instance of the Counter Item.

Declaration
public ProviderDataTypeItem(long counter)
Parameters
Type Name Description
System.Int64 counter

Value to initialize with.

Properties

Counter

Gets/Sets the value of the Counter.

Declaration
public long Counter { get; set; }
Property Value
Type Description
System.Int64

Value of the counter.

Data

Gets/Sets the value of the DataType Item.

Declaration
public virtual TValue Data { get; set; }
Property Value
Type Description
TValue

Value of the DataType Item.

Type

Gets/Sets the value of the CacheItem.

Declaration
public DistributedDataType Type { get; set; }
Property Value
Type Description
DistributedDataType

Value of the CacheItem.

Methods

GetDataAsJson<T>()

Gets the value of DataType item in the form of JsonValueBase.

Declaration
public virtual T GetDataAsJson<T>()
    where T : JsonValueBase
Returns
Type Description
T

DataType item in the form of JsonValueBase.

Type Parameters
Name Description
T

Type of JsonValueBase or other derived classes.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top