This document is archived and information here might be outdated.  Recommended version.


IDynamicServiceHostStats.GetCacheStats Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > ID > IDynamicServiceHostStats Interface > IDynamicServiceHostStats.GetCacheStats Method
ArcGIS Developer Help

IDynamicServiceHostStats.GetCacheStats Method

Returns current and maximum size of service in-memory cache.

[Visual Basic .NET]
Public Sub GetCacheStats ( _
    ByRef curCacheSize As Integer, _
    ByRef maxCacheSize As Integer _
)
[C#]
public void GetCacheStats (
    ref int curCacheSize,
    ref int maxCacheSize
);
[C++]
HRESULT GetCacheStats(
  System.Int32* curCacheSize,
  System.Int32* maxCacheSize
);
[C++]
Parameters
curCacheSize [out]

curCacheSize is a parameter of type long* maxCacheSize [out]
maxCacheSize is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IDynamicServiceHostStats Interface