GigaSpaces XAP.NET Documentation
MaxInstancesPerMachine Method (maxInstancesPerMachine)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.MemcachedMemcachedDeploymentMaxInstancesPerMachine(Int32)
Sets the maximum number of instances per machine. On partitioned topology with backups topology, controls that a primary and a backup won't run on the same machine if set to 1. On a non partitioned with backups topology, controls the maximum number of instances running on the same machine.
Declaration Syntax
C#Visual BasicVisual C++J#
public virtual MemcachedDeployment MaxInstancesPerMachine(
	int maxInstancesPerMachine
)
Public Overridable Function MaxInstancesPerMachine ( _
	maxInstancesPerMachine As Integer _
) As MemcachedDeployment
public:
virtual MemcachedDeployment^ MaxInstancesPerMachine(
	int maxInstancesPerMachine
)
public MemcachedDeployment MaxInstancesPerMachine(
	int maxInstancesPerMachine
)
Parameters
maxInstancesPerMachine (Int32)
The maximum instances per machine.
Return Value
The MemcachedDeployment set with the specified maximum instances per machine.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.0.0.0 (10.0.1.11800)