GigaSpaces XAP.NET Documentation
WaitFor Method (processingUnitName, numberOfProcessingUnitInstances, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ContainerIGridServiceContainerWaitFor(String, Int32, TimeSpan)
Waits for timeout value for the given number of processing unit instances of the specified name to run within the container.
Declaration Syntax
C#Visual BasicVisual C++J#
bool WaitFor(
	string processingUnitName,
	int numberOfProcessingUnitInstances,
	TimeSpan timeout
)
Function WaitFor ( _
	processingUnitName As String, _
	numberOfProcessingUnitInstances As Integer, _
	timeout As TimeSpan _
) As Boolean
bool WaitFor(
	String^ processingUnitName, 
	int numberOfProcessingUnitInstances, 
	TimeSpan timeout
)
boolean WaitFor(
	String processingUnitName,
	int numberOfProcessingUnitInstances,
	TimeSpan timeout
)
Parameters
processingUnitName (String)
Processing unit name.
numberOfProcessingUnitInstances (Int32)
The number of processing unit instances to wait for.
timeout (TimeSpan)
Time to wait.
Return Value
true if the number was reached, false if the timeout expired.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.1.0.0 (10.1.1.12800)