iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

CachingStatement.GetDataCacheHitRatio Method 

Gets a percentage of successful cache hits achieved

[Visual Basic]
Public Function GetDataCacheHitRatio() As Double
[C#]
public double GetDataCacheHitRatio();

Return Value

The percentage of hits (0-1), or -1 if cache is disabled.

See Also

CachingStatement Class | IBatisNet.DataMapper.MappedStatements Namespace