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.
|C#||Visual Basic||Visual C++||J#|
Public Interface ISpace _ Implements IEnumerable(Of ISpaceInstance), IEnumerable, _ IStatisticsMonitor
Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.0.0.0 (10.0.1.11800)
Gets an aggregated view of all the statistics of the backup instances.
Gets the number of currently discovered space instances.
Returns an enumerator that iterates through the collection.(Inherited from IEnumerable<(Of <(ISpaceInstance>)>).)
Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.)
Returns a partition for a specific partition id.
Gets all the space instances that are currently discovered that are part of this Space topology.
Occurs when ISpaceInstanceStatistics has changed.
Gets whether there are currently no space instances discovered.
Gets whether statistics are currently being monitored.(Inherited from IStatisticsMonitor.)
Gets the name of the Space.
Gets the number of backups per Space Instance. the value would be 1 when we deploy a 2 partitions each with one backup topology.
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.
Gets all the partitions that form this Space topology.
Gets an aggregated view of all the statistics of the primary instances.
Occurs when ReplicationStatus has changed.
Sets the number of history statistics record to store.(Inherited from IStatisticsMonitor.)
Sets the statistics interval, automatically updating the monitoring scheduled tasks if monitoring is enabled.(Inherited from IStatisticsMonitor.)
Occurs when ISpaceInstance has been added.
Occurs when ISpaceInstance has been removed.
Occurs when SpaceMode has changed.
Gets the clustered view of the space to operate on.
Gets the spaces this space is one of.
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.)
Gets an aggregated view of all the statistics of all the instances.
Occurs when ISpaceStatistics has changed.
Stops the statistics monitor.(Inherited from IStatisticsMonitor.)
Gets the total number of instances.
Gets the uid of the Space.
Waits for SetDefaultTimeout(TimeSpan) till the provided number of space instances are up.
Waits for the given timeout till the provided number of space instances are up.
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.