Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

GetStatistics(String,String) Method






Key name. If this parameter is not null, then this method will return information on this item only. This can be used to check if the item has expired but not yet purged from the cache. If this parameter is null, then information on all the items in regionName is returned.
Region name. If this value is not null, then this method will return information on the items in this region. If this parameter is null, then information on all regions in the cache is returned (the equivalent of calling GetStatistics.
Returns a snapshot of the number of items in the specified region.
Syntax
public override CacheStatistics GetStatistics( 
   string keyName,
   string regionName
)
'Declaration
 
Public Overloads Overrides Function GetStatistics( _
   ByVal keyName As String, _
   ByVal regionName As String _
) As CacheStatistics
'Usage
 
Dim instance As FileCache
Dim keyName As String
Dim regionName As String
Dim value As CacheStatistics
 
value = instance.GetStatistics(keyName, regionName)
@Override
public CacheStatistics getStatistics(String keyName, String regionName)
            
public:
CacheStatistics^ GetStatistics( 
   String^ keyName,
   String^ regionName
) override 

Parameters

keyName
Key name. If this parameter is not null, then this method will return information on this item only. This can be used to check if the item has expired but not yet purged from the cache. If this parameter is null, then information on all the items in regionName is returned.
regionName
Region name. If this value is not null, then this method will return information on the items in this region. If this parameter is null, then information on all regions in the cache is returned (the equivalent of calling GetStatistics.

Return Value

A CacheStatistics object containing the current number of regions, items and expired items in the cache.
Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members
Overload List

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features