A Space Instance is a single instance of a space running as a part of a space.
For example, when deploying a 2 partitions each with one backup topology,
there will be 4 space instances running.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
public interface ISpaceInstance : IGridComponent, IDiscoverableComponent, IAdminAware, IMachineAware, ITransportAware, IOperatingSystemAware, IVirtualMachineAware, IZoneAware, IStatisticsMonitor
Public Interface ISpaceInstance _ Inherits IGridComponent, IDiscoverableComponent, IAdminAware, IMachineAware, _ ITransportAware, IOperatingSystemAware, IVirtualMachineAware, IZoneAware, IStatisticsMonitor
public interface class ISpaceInstance : IGridComponent, IDiscoverableComponent, IAdminAware, IMachineAware, ITransportAware, IOperatingSystemAware, IVirtualMachineAware, IZoneAware, IStatisticsMonitor
public interface ISpaceInstance extends IGridComponent, IDiscoverableComponent, IAdminAware, IMachineAware, ITransportAware, IOperatingSystemAware, IVirtualMachineAware, IZoneAware, IStatisticsMonitor
![](../icons/collapse_all.gif)
All Members | Methods | Properties | Events | ||
Icon | Member | Description |
---|---|---|
![]() | Admin |
Gets the IServiceGridAdmin associated with this element.
(Inherited from IAdminAware.) |
![]() | BackupId |
Gets the backup id (if it is a topology with backups) of the space instance.
|
![]() | Discovered |
Returns true if the component is currently discovered from the lookup service.
false if an event of component removal was sent from the lookup service.
(Inherited from IDiscoverableComponent.) |
![]() | InstanceId |
Gets the instance id of the space (starting from 1).
|
![]() | Machine |
Gets the IMachine the component is running on.
(Inherited from IMachineAware.) |
![]() | Mode |
Gets the space mode, indicating if the space is primary or backup.
|
![]() | Monitoring |
Gets whether statistics are currently being monitored.
(Inherited from IStatisticsMonitor.) |
![]() | OperatingSystem |
Gets the operating system the grid component is running within.
(Inherited from IOperatingSystemAware.) |
![]() | Partition |
Gets the partition this instance is a part of.
|
![]() | ReplicationStatusChanged |
Occurs when ReplicationStatus has changed.
|
![]() | ReplicationTargets |
Gets the replication targets this space instance is replicating to.
|
![]() | 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.) |
![]() | Space |
Gets the space this instance is a part of.
|
![]() | SpaceModeChanged |
Occurs when SpaceMode has changed.
|
![]() | SpaceProxy |
Gets the direct proxy to the actual space instance.
|
![]() | 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 the space instance statistics.
|
![]() | StatisticsChanged |
Occurs when ISpaceInstanceStatistics has changed.
|
![]() | StopStatisticsMonitor()()()() |
Stops the statistics monitor.
(Inherited from IStatisticsMonitor.) |
![]() | Transport |
Gets the transport the grid component is using.
(Inherited from ITransportAware.) |
![]() | Uid |
Gets the unique id of the grid component.
(Inherited from IGridComponent.) |
![]() | VirtualMachine |
Gets the virtual machine the grid component is running within.
(Inherited from IVirtualMachineAware.) |
![]() | WaitForMode(SpaceMode, TimeSpan) |
Waits for the space instance to move to the provided space mode within a given timeout.
|
![]() | Zones |
Gets the zones the grid component is running within.
(Inherited from IZoneAware.) |