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

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.0.0.0 (12.0.0.16000)