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

Class CacheItemVersion

Represents the version of each cache item. An instance of this class is used in the optimistic concurrency model to ensure the data integrity.

Inheritance
System.Object
CacheItemVersion
Assembly: Alachisoft.NCache.Client.dll
Syntax
public class CacheItemVersion : IComparable

Properties

Version

Gets/Sets the version.

Declaration
[CLSCompliant(false)]
public ulong Version { get; set; }
Property Value
Type Description
System.UInt64

Gets/Sets the version.

Methods

CompareTo(Object)

Compares an object with this instance of CacheItemVersion.

Declaration
public int CompareTo(object obj)
Parameters
Type Name Description
System.Object obj

An object to compare with this instance of CacheItemVersion.

Returns
Type Description
System.Int32

0 if two instances are equal. An integer greater than 0, if this instance is greater. An integer less than 0, if this instance is smaller.

Equals(Object)

Identifies if two instances of this class are equal.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

An object to compare with this instance.

Returns
Type Description
System.Boolean

True if two instances of this class are equal.

Overrides
System.Object.Equals(System.Object)

ToString()

The string representation of this class.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of this class.

Overrides
System.Object.ToString()

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