GigaSpaces XAP.NET Documentation
WaitFor Method (numberOfMachines, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.MachineIMachinesWaitFor(Int32, TimeSpan)
Waits for the given timeout till the provided number of machines are up.
Declaration Syntax
C#Visual BasicVisual C++J#
bool WaitFor(
	int numberOfMachines,
	TimeSpan timeout
)
Function WaitFor ( _
	numberOfMachines As Integer, _
	timeout As TimeSpan _
) As Boolean
bool WaitFor(
	int numberOfMachines, 
	TimeSpan timeout
)
boolean WaitFor(
	int numberOfMachines,
	TimeSpan timeout
)
Parameters
numberOfMachines (Int32)
The number of containers to wait for.
timeout (TimeSpan)
Time to wait.
Return Value
true if the required number of machines were discovered, false if the timeout expired.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.3.0.0 (12.3.0.19000)