Apache Ignite.NET
Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion Struct Reference

Affinity topology version. More...

Inheritance diagram for Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion:

Public Member Functions

 AffinityTopologyVersion (long version, int minorVersion)
 Initializes a new instance of the AffinityTopologyVersion struct. More...
 
bool Equals (AffinityTopologyVersion other)
 Indicates whether the current object is equal to another object of the same type. More...
 
override bool Equals (object obj)
 Determines whether the specified System.Object, is equal to this instance. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 
override string ToString ()
 Returns a string that represents this instance. More...
 

Static Public Member Functions

static bool operator== (AffinityTopologyVersion left, AffinityTopologyVersion right)
 Implements the operator ==. More...
 
static bool operator!= (AffinityTopologyVersion left, AffinityTopologyVersion right)
 Implements the operator !=. More...
 

Properties

long Version [get]
 Gets the major version, same as ICluster.TopologyVersion. More...
 
int MinorVersion [get]
 Gets the minor version, which is increased when new caches start. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.AffinityTopologyVersion ( long  version,
int  minorVersion 
)
Parameters
versionThe version.
minorVersionThe minor version.

Member Function Documentation

bool Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.Equals ( AffinityTopologyVersion  other)
Parameters
otherAn object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
override bool Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.Equals ( object  obj)
Parameters
objThe System.Object to compare with this instance.
Returns
true if the specified System.Object is equal to this instance; otherwise, false.
override int Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.GetHashCode ( )
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
static bool Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.operator!= ( AffinityTopologyVersion  left,
AffinityTopologyVersion  right 
)
static
Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.
static bool Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.operator== ( AffinityTopologyVersion  left,
AffinityTopologyVersion  right 
)
static
Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.
override string Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.ToString ( )
Returns
A string that represents this instance.

Property Documentation

int Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.MinorVersion
get
long Apache.Ignite.Core.Cache.Affinity.AffinityTopologyVersion.Version
get