GigaSpaces XAP.NET Documentation
WaitFor Method (numberOfGridServiceManagers, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ManagerIGridServiceManagersWaitFor(Int32, TimeSpan)
Waits for the given timeout till the provided number of managers are up. When passing 0, will wait till there are no more grid service managers.
Declaration Syntax
C#Visual BasicVisual C++J#
bool WaitFor(
	int numberOfGridServiceManagers,
	TimeSpan timeout
)
Function WaitFor ( _
	numberOfGridServiceManagers As Integer, _
	timeout As TimeSpan _
) As Boolean
bool WaitFor(
	int numberOfGridServiceManagers, 
	TimeSpan timeout
)
boolean WaitFor(
	int numberOfGridServiceManagers,
	TimeSpan timeout
)
Parameters
numberOfGridServiceManagers (Int32)
The number of managers 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: 14.2.0.0 (14.2.0.20400)