GigaSpaces XAP.NET Documentation
MaxInstancesPerZone Method (zone, maxInstancesPerZone)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.MemcachedMemcachedDeploymentMaxInstancesPerZone(String, Int32)
Sets the maximum number of instances per zone. On partitioned topology with backups topology, controls that a primary and a backup won't run on the same zone if set to 1. Note, for each zone this will have to be set. On a non partitioned with backups topology, controls the maximum number of instances running on he same zone.
Declaration Syntax
C#Visual BasicVisual C++J#
public virtual MemcachedDeployment MaxInstancesPerZone(
	string zone,
	int maxInstancesPerZone
)
Public Overridable Function MaxInstancesPerZone ( _
	zone As String, _
	maxInstancesPerZone As Integer _
) As MemcachedDeployment
public:
virtual MemcachedDeployment^ MaxInstancesPerZone(
	String^ zone, 
	int maxInstancesPerZone
)
public MemcachedDeployment MaxInstancesPerZone(
	String zone,
	int maxInstancesPerZone
)
Parameters
zone (String)
The zone to set maximum instances for.
maxInstancesPerZone (Int32)
The maximum instances per zone.
Return Value
The MemcachedDeployment set with the specified maximum instances per zone for a specific zone.

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