This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerMachine2 Interface > IServerMachine2.Capacity Property (ArcObjects .NET 10.4 SDK) |
The number of desired concurrently available configurations (the capacity) of the ArcGIS Server.
[Visual Basic .NET] Public Property Capacity As Integer
[C#] public int Capacity {get; set;}
[C++]
HRESULT get_Capacity(
long* Val
);
[C++]
HRESULT put_Capacity(
long Val
);
[C++]
Parameters Val [out, retval] Val is a parameter of type long Val [in] Val is a parameter of type long
The Capacity property defines the number configuration instances on an SOC machine that are allowed to run concurrently before the pool-shrinking algorithm engages. The pool-shrinking algorithm removes least recently used configuration instances and replaces them with new instances. Capacity is dependent on system memory and CPU resources and should be tuned for each machine in the ArcGIS Server.