GigaSpaces XAP.NET Documentation
IMachines Interface
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.MachineIMachines
Machines hold all the different IMachines that are currently discovered. Provides simple means to get all the current machines, as well as as registering for machine lifecycle (added and removed) events.
Declaration Syntax
C#Visual BasicVisual C++J#
public interface IMachines : IAdminAware, 
	IEnumerable<IMachine>, IEnumerable
Public Interface IMachines _
	Inherits IAdminAware, IEnumerable(Of IMachine), IEnumerable
public interface class IMachines : IAdminAware, 
	IEnumerable<IMachine^>, IEnumerable
public interface IMachines extends IAdminAware, 
	IEnumerable<IMachine>, IEnumerable
Members
All MembersMethodsPropertiesEvents



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

GetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'IMachine>)>)>.)
GetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
GetMachineByHostAddress(String)
Returns the machine by the host address.

GetMachineByHostName(String)
Returns the machine by the host name.

HostsByAddress
Gets a map of machines by host address.

HostsByName
Gets a map of machines by host names.

IsEmpty
Gets whether there are no machines.

MachineAdded
Occurs when a IMachine is added.

MachineRemoved
Occurs when a IMachine is removed.

Machines
Gets all currently discovered machines.

Uids
Gets a map of machines with the key as the uid.

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

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

WaitFor(String)
Waits for SetDefaultTimeout(TimeSpan) till the machine with the given host (name/address) is discovered.

WaitFor(String, TimeSpan)
Waits for the given timeout till the machine with the given host (name/address) is discovered.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 16.2.0.0 (16.2.1)