GigaSpaces XAP.NET Documentation
ClusterInfo Class
Class LibraryGigaSpaces.CoreClusterInfo
Holds cluster related information.
Declaration Syntax
C#Visual BasicVisual C++J#
[SerializableAttribute]
public class ClusterInfo
<SerializableAttribute> _
Public Class ClusterInfo
[SerializableAttribute]
public ref class ClusterInfo
/** @attribute SerializableAttribute */ 
public class ClusterInfo
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ClusterInfo()()()
Default constructor

ClusterInfo(String, Nullable<(Of <(Int32>)>), Nullable<(Of <(Int32>)>), Nullable<(Of <(Int32>)>), Nullable<(Of <(Int32>)>))
Construct a new cluster info

BackupId
Gets or sets the backup id of the specific cluster member. Can have null value which means that it was not set and should not be taken into account.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InstanceId
Gets or sets the instance id of the specific cluster member. Can have null value which means that it was not set and should not be taken into account.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets or sets the logical name of the cluster.

NumberOfBackups
Gets or sets the number of backups that each primary instance will have in a cluster. Can have null value which means that it was not set and should not be taken into account.

NumberOfInstances
Gets or sets the number of primary instances that are running within the cluster. Note, this are the number of primary instances. Each instance might also have one or more backups. Can have null value which means that it was not set and should not be taken into account.

RunningNumber
Gets a "running" number represented by the cluster info. Some examples: 1. NumberOfInstances=2, numberOfBackups=0, instanceId=1: RunningNumber = 0. 2. NumberOfInstances=2, numberOfBackups=0, instanceId=2: RunningNumber = 1. 3. NumberOfInstances=2, numberOfBackups=1, instanceId=1, backupId=0: RunningNumber = 0. 4. NumberOfInstances=2, numberOfBackups=1, instanceId=1, backupId=1: RunningNumber = 1. 5. NumberOfInstances=2, numberOfBackups=1, instanceId=2, backupId=0: RunningNumber = 2. 6. NumberOfInstances=2, numberOfBackups=1, instanceId=2, backupId=1: RunningNumber = 3.

Schema
Gets or sets the schema the cluster operates under. Usually maps to a Space cluster schema. Can have null value which means that it was not set.

ToString()()()
Returns a String that represents the current Object.
(Overrides Object.ToString()()().)
Inheritance Hierarchy
Object
ClusterInfo

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.1.0.0 (12.1.0.17000)