GigaSpaces XAP.NET Documentation
ISpace Interface
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.SpaceISpace
A space is composed of several ISpaceInstances the form a topology. There are two main logical of topologies, one that has backups to each space instance, and one that is without backups. For example, a partitioned topology of 2 partitions, each with one backup will return 2 for NumberOfInstances and 1 for NumberOfBackups. A replicated topology of 4 will return 4 for NumberOfInstances and 0 for NumberOfBackups. A Space will be discovered once one of its ISpaceInstances have been discovered. It will be removed once there are no ISpaceInstances running. Provides the ability to start a statistics monitor on all current ISpaceInstances using StartStatisticsMonitor()()()(). Newly discovered space instances will automatically use the statistics monitor as well.
Declaration Syntax
C#Visual BasicVisual C++J#
public interface ISpace : IEnumerable<ISpaceInstance>, 
	IEnumerable, IStatisticsMonitor
Public Interface ISpace _
	Inherits IEnumerable(Of ISpaceInstance), IEnumerable, IStatisticsMonitor
public interface class ISpace : IEnumerable<ISpaceInstance^>, 
	IEnumerable, IStatisticsMonitor
public interface ISpace extends IEnumerable<ISpaceInstance>, 
	IEnumerable, IStatisticsMonitor
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
BackupsStatistics
Gets an aggregated view of all the statistics of the backup instances.

Count
Gets the number of currently discovered space instances.

GetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'ISpaceInstance>)>)>.)
GetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
GetPartition(Int32)
Returns a partition for a specific partition id.

Instances
Gets all the space instances that are currently discovered that are part of this Space topology.

InstanceStatisticsChanged
Occurs when ISpaceInstanceStatistics has changed.

IsEmpty
Gets whether there are currently no space instances discovered.

Monitoring
Gets whether statistics are currently being monitored.
(Inherited from IStatisticsMonitor.)
Name
Gets the name of the Space.

NumberOfBackups
Gets the number of backups per Space Instance. the value would be 1 when we deploy a 2 partitions each with one backup topology.

NumberOfInstances
Gets the number of instances as per the Space topology. the value would be 4 if we have a replicated topology and 2 if we have a 2 partitions each with one backup topology.

Partitions
Gets all the partitions that form this Space topology.

PrimariesStatistics
Gets an aggregated view of all the statistics of the primary instances.

ReplicationStatusChanged
Occurs when ReplicationStatus has changed.

SetStatisticsHistorySize(Int32)
Sets the number of history statistics record to store.
(Inherited from IStatisticsMonitor.)
SetStatisticsInterval(TimeSpan)
Sets the statistics interval, automatically updating the monitoring scheduled tasks if monitoring is enabled.
(Inherited from IStatisticsMonitor.)
SpaceInstanceAdded
Occurs when ISpaceInstance has been added.

SpaceInstanceRemoved
Occurs when ISpaceInstance has been removed.

SpaceModeChanged
Occurs when SpaceMode has changed.

SpaceProxy
Gets the clustered view of the space to operate on.

Spaces
Gets the spaces this space is one of.

StartStatisticsMonitor()()()()
Starts the statistics monitor, starting a scheduled monitor that polls for statistics. Monitoring is required only when wanting to receive statistics change events.
(Inherited from IStatisticsMonitor.)
Statistics
Gets an aggregated view of all the statistics of all the instances.

StatisticsChanged
Occurs when ISpaceStatistics has changed.

StopStatisticsMonitor()()()()
Stops the statistics monitor.
(Inherited from IStatisticsMonitor.)
TotalNumberOfInstances
Gets the total number of instances.

Uid
Gets the uid of the Space.

WaitFor(Int32)
Waits for SetDefaultTimeout(TimeSpan) till the provided number of space instances are up.

WaitFor(Int32, TimeSpan)
Waits for the given timeout till the provided number of space instances are up.

WaitFor(Int32, SpaceMode)
Waits for SetDefaultTimeout(TimeSpan) till the provided number of space instances of the provided space mode type are up.

WaitFor(Int32, SpaceMode, TimeSpan)
Waits for the given timeout till the provided number of space instances of a specified space mode type are up.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 16.1.0.0 (16.1.0)