GigaSpaces XAP.NET Documentation
IGridServiceManagers Interface
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.ManagerIGridServiceManagers
Grid Service Managers hold all the different IGridServiceManagers that are currently discovered. Provides simple means to get all the current managers, as well as as registering for manager lifecycle (added and removed) events. Also provides the ability to deploy a processing unit or a space (which is also a processing unit, that simply just starts a space) on a randomly selected GSM (for more control on which manager to deploy Deploy(ProcessingUnitDeployment) can be used.
Declaration Syntax
C#Visual BasicVisual C++J#
public interface IGridServiceManagers : IAdminAware, 
	IEnumerable<IGridServiceManager>, IEnumerable
Public Interface IGridServiceManagers _
	Implements IAdminAware, IEnumerable(Of IGridServiceManager),  _
	IEnumerable
public interface class IGridServiceManagers : IAdminAware, 
	IEnumerable<IGridServiceManager^>, IEnumerable
public interface IGridServiceManagers extends IAdminAware, 
	IEnumerable<IGridServiceManager>, IEnumerable
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
Admin
Gets the IServiceGridAdmin associated with this element.
(Inherited from IAdminAware.)
Count
Gets the number of currently discovered managers.

Deploy(ProcessingUnitDeployment)
Deploys a processing unit based on the processing unit deployment information on a random grid service manager (it will act as the primary GSM for the deployed processing unit). The deployment process will wait for SetDefaultTimeout(TimeSpan) and return the actual processing unit that can be used or null if the timeout elapsed.

Deploy(ProcessingUnitDeployment, TimeSpan)
Deploys a processing unit based on the processing unit deployment information on a random grid service manager (it will act as the primary GSM for the deployed processing unit). The deployment process will wait for the specified timeout and return the actual processing unit that can be used or null if the timeout elapsed.

Deploy(SpaceDeployment)
Deploys a space based on the space deployment information on a random grid service manager (it will act as the primary GSM for the deployed processing unit). The deployment process will wait for SetDefaultTimeout(TimeSpan) and return the actual processing unit that can be used or null if the timeout elapsed. Note, deploying just a space is simply deploying a built in processing unit that starts just an embedded space.

Deploy(SpaceDeployment, TimeSpan)
Deploys a space based on the space deployment information on a random grid service manager (it will act as the primary GSM for the deployed processing unit). The deployment process will wait for the specified timeout and return the actual processing unit that can be used or null if the timeout elapsed. Note, deploying just a space is simply deploying a built in processing unit that starts just an embedded space.

Deploy(MemcachedDeployment)
Deploys a memcached based on the space deployment information on a random grid service manager (it will act as the primary GSM for the deployed processing unit). The deployment process will wait for SetDefaultTimeout(TimeSpan) and return the actual processing unit that can be used or null if the timeout elapsed. Note, deploying just a memcached is simply deploying a built in processing unit that starts / connects to a space (holding the memcached entries) and exposing the memcached protocol.

Deploy(MemcachedDeployment, TimeSpan)
Deploys a memcached based on the space deployment information on a random grid service manager (it will act as the primary GSM for the deployed processing unit). The deployment process will wait for the specified timeout and return the actual processing unit that can be used or null if the timeout elapsed. Note, deploying just a memcached is simply deploying a built in processing unit that starts / connects to a space (holding the memcached entries) and exposing the memcached protocol.

GetEnumerator()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(IGridServiceManager>)>).)
GetEnumerator()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
GetManagerByUID(String)
Returns a manager based on its uid. Uid

GridServiceManagerAdded
Occurs when a IGridServiceManager is added.

GridServiceManagerRemoved
Occurs when a IGridServiceManager is removed.

IsEmpty
States if there are no discovered managers.

Managers
Gets all the currently discovered managers.

Uids
Gets a dictionary of grid service manager with the key as the uid.

WaitFor(Int32)
Waits for SetDefaultTimeout(TimeSpan) till the provided number of managers are up. When passing 0, will wait till there are no more grid service managers.

WaitFor(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.

WaitForAtLeastOne()()()
Waits for SetDefaultTimeout(TimeSpan) till at least one GSM is discovered and returns it.

WaitForAtLeastOne(TimeSpan)
Waits for the given timeout till at least one GSM is discovered and returns it.

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