GigaSpaces XAP.NET Documentation
WaitFor Method (numberOfProcessingUnitInstances, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ProcessingUnitIProcessingUnitWaitFor(Int32, TimeSpan)
Waits for the sepcified timeout till at least the provided number of Processing Unit Instances are up.
Declaration Syntax
C#Visual BasicVisual C++J#
bool WaitFor(
	int numberOfProcessingUnitInstances,
	TimeSpan timeout
)
Function WaitFor ( _
	numberOfProcessingUnitInstances As Integer, _
	timeout As TimeSpan _
) As Boolean
bool WaitFor(
	int numberOfProcessingUnitInstances, 
	TimeSpan timeout
)
boolean WaitFor(
	int numberOfProcessingUnitInstances,
	TimeSpan timeout
)
Parameters
numberOfProcessingUnitInstances (Int32)
Number of instances to wait for.
timeout (TimeSpan)
Time to wait.
Return Value
true if the required number of managers were discovered, false if the timeout expired.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 7.1.4.4750 (7.1.4.4750)