GigaSpaces XAP.NET Documentation
IGridServiceAgents Interface
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.AgentIGridServiceAgents
Grid Service Agents hold all the different IGridServiceAgent that are currently discovered. Provides simple means to get all the current agents, as well as as registering for agent lifecycle (added and removed) events.
Declaration Syntax
C#Visual BasicVisual C++J#
public interface IGridServiceAgents : IAdminAware, 
	IEnumerable<IGridServiceAgent>, IEnumerable
Public Interface IGridServiceAgents _
	Implements IAdminAware, IEnumerable(Of IGridServiceAgent),  _
	IEnumerable
public interface class IGridServiceAgents : IAdminAware, 
	IEnumerable<IGridServiceAgent^>, IEnumerable
public interface IGridServiceAgents extends IAdminAware, 
	IEnumerable<IGridServiceAgent>, IEnumerable
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
Admin
Gets the IServiceGridAdmin associated with this element.
(Inherited from IAdminAware.)
Agents
Gets all the currently discovered agents.

Count
Gets the number of agents current discovered.

GetAgentByUID(String)
Returns an agent based on its uid.

GetEnumerator()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(IGridServiceAgent>)>).)
GetEnumerator()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
GridServiceAgentAdded
Occurs when a IGridServiceAgent is added.

GridServiceAgentRemoved
Occurs when a IGridServiceAgent is removed.

HostAddress
Gets a dictionary of grid service agent with the key as the host address it is running on.

HostNames
Gets a dictionary of grid service agent with the key as the host name it is running on.

IsEmpty
Gets if there are no agents.

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

WaitFor(Int32)
Waits for SetDefaultTimeout(TimeSpan) till the provided number of agents are up.

WaitFor(Int32, TimeSpan)
Waits for the given timeout till the provided number of agents are up.

WaitForAtLeastOne()()()
Waits for SetDefaultTimeout(TimeSpan) till at least one agent is discovered.

WaitForAtLeastOne(TimeSpan)
Waits for the given timeout till at least one agent is discovered.

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