GigaSpaces XAP.NET Documentation
IProcessingUnitInstance Interface
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ProcessingUnitIProcessingUnitInstance
A processing unit instance is an actual running instance of a IProcessingUnit. For example, when deploying a processing unit with 4 instance, there will be eventually 4 instances of the processing unit.
Declaration Syntax
Members
All MembersMethodsProperties



IconMemberDescription
Admin
Gets the IServiceGridAdmin associated with this element.
(Inherited from IAdminAware.)
BackupId
Gets the backup id of the processing unit instance.

ClusterInfo
Gets the cluster info of the processing unit instance.

Decrement()()()()
Decrements the instance (and destroying it in the process). Will not attempt to create it again. CanDecrementInstance

Destroy()()()()
Destroy the instance. If breaches the SLA, will instantiate the instance again.

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.)
EmbeddedSpaceDetails
Gets the embedded space ISpaceServiceDetails as described by the service started within the processing unit instance. Null is returned if no embedded space was started within the processing unit instance and one of them is returned if there are few. EmbeddedSpacesDetails

EmbeddedSpaces
Gets whether there are embedded spaces started within this processing unit instance.

EmbeddedSpacesDetails
Gets the embedded spaces ISpaceServiceDetails as described by the service started within the processing unit instance.

EventContainerDetails
Gets a dictionary of IEventListenerContainerServiceDetails keyed by their Id

GetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'IServiceDetails>)>)>.)
GetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
GetServiceDetailsByServiceId(String)
Gets the IServiceDetails for a specific service id. IServiceDetailsProvider

GetServicesDetailsByServiceType(String)
Gets the IServiceDetails by a service type. .

GridServiceContainer
Gets the IGridServiceContainer the processing unit instance is running on.

InstanceId
Gets the instance id of the processing unit instance.

Machine
Gets the IMachine the component is running on.
(Inherited from IMachineAware.)
Monitoring
Gets whether statistics are currently being monitored.
(Inherited from IStatisticsMonitor.)
Name
Gets the name of the IProcessingUnit.

NotifyEventContainerDetails
Gets a dictionary of INotifyEventListenerContainerServiceDetails keyed by their Id

OperatingSystem
Gets the operating system the grid component is running within.
(Inherited from IOperatingSystemAware.)
Partition
Gets the IProcessingUnitPartition this processing unit instance is part of.

PollingEventContainerDetails
Gets a dictionary of IPollingEventListenerContainerServiceDetails keyed by their Id

ProcessingUnit
Gets the IProcessingUnit this processing unit instance belongs to.

Relocate(IGridServiceContainer)
Relocates the instance to the provided IGridServiceContainer. Note, the current processing instance is unusable once this call has been made. If the relocated processing unit instance is needed, or waiting for the relocation is required, use RelocateAndWait(IGridServiceContainer) or RelocateAndWait(IGridServiceContainer, TimeSpan).

Relocate()()()()
Relocates the instance to any suitable IGridServiceContainer. Note, the current processing instance is unusable once this call has been made. If the relocated processing unit instance is needed, or waiting for the relocation is required, use RelocateAndWait()()()() or RelocateAndWait(TimeSpan).

RelocateAndWait(IGridServiceContainer)
Relocates the instance to the provided IGridServiceContainer. The relocated instance will be returned waiting for it for SetDefaultTimeout(TimeSpan).

RelocateAndWait(IGridServiceContainer, TimeSpan)
Relocates the instance to the provided IGridServiceContainer. The relocated instance will be returned waiting for it for the provided timeout.

RelocateAndWait()()()()
Relocates the instance to any suitable IGridServiceContainer. The relocated instance will be returned waiting for it for SetDefaultTimeout(TimeSpan).

RelocateAndWait(TimeSpan)
Relocates the instance to any suitable IGridServiceContainer. The relocated instance will be returned waiting for it for the provided timeout.

RemotingDetails
Gets the IRemotingServiceDetailss that are hosted within the processing unit.

Restart()()()()
Restarts the processing unit instance. Note, if this instance is running an embedded space instance, and the space instance is primary and there is a backup around as well, this method is handy to "turn" the backup to primary. Note, the current processing unit instance is unusable once this call has been made. If the restarted processing unit instance is needed, or waiting for the restart is required, use RestartAndWait()()()() or RestartAndWait(TimeSpan).

RestartAndWait()()()()
Restarts the processing unit instance and waits for SetDefaultTimeout(TimeSpan) for the restarted processing unit instance to be available Restart()()()()

RestartAndWait(TimeSpan)
Restarts the processing unit instance and waits for the provided timeout for the restarted processing unit instance to be available

ServiceDetailsByServiceId
Gets a map of IServiceDetailss by service id.

ServiceDetailsByServiceType
Gets a dictionary of IServiceDetails by service type.

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.)
SpaceDetails
Gets the ISpaceServiceDetailss as described by the service started within the processing unit instance.

SpaceInstance
Gets a ISpaceInstance that was started within the processing unit instance. Will return null if no embedded space instances were started (or none has been detected yet).

SpaceInstances
Gets all the ISpaceInstances that were stared within the processing unit instance. Will return an empty list if no space instances were started within this processing unit (or none has been detected yet).

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 processing unit instance statistics.

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.)
WaitForSpaceInstance()()()()
Wait for SetDefaultTimeout(TimeSpan) till a ISpaceInstance that is started within this processing unit instance is discovered.

WaitForSpaceInstance(TimeSpan)
Wait for the provided timeout till a ISpaceInstance that is started within this processing unit instance is discovered.

Zones
Gets the zones the grid component is running within.
(Inherited from IZoneAware.)

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