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, 
	IDumpProvider, IEnumerable<IGridServiceManager>, IEnumerable
Public Interface IGridServiceManagers _
	Inherits IAdminAware, IDumpProvider, IEnumerable(Of IGridServiceManager),  _
	IEnumerable
public interface class IGridServiceManagers : IAdminAware, 
	IDumpProvider, IEnumerable<IGridServiceManager^>, IEnumerable
public interface IGridServiceManagers extends IAdminAware, 
	IDumpProvider, 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.

GenerateDump(String)
Generates dump for all the provided dump processors. Note, this will include a heap dump which can consume time and potentially be of very large size
(Inherited from IDumpProvider.)
GenerateDump(String, array<String>[]()[][])
Generates dump for the provided processors. The current list of processors include:
  • summary: General summary information of the process.
  • network: Information on the network layer of the process and the OS network stats.
  • thread: Thread dump of the process.
  • heap: Heap dump of the process. Note, this is a heavy operation and can produce very large dump files
  • log: Adds all the log files of the process to the dump file.
  • processingUnits: Dump of all the processing units (applicable only for GSCs) information.
(Inherited from IDumpProvider.)
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: 16.1.0.0 (16.1.1)