The fields of the MemoryCacheLevel class are listed below. For a complete list of MemoryCacheLevel class members, see the MemoryCacheLevel Members topic.
Strong | Constant for strong caching. This cache model will guarantee that the results stay in memory until the cache is explicitly flushed. This is ideal for results that are:
|
Weak | Constant for weak caching This cache model is probably the best choice in most cases. It will increase performance for popular results, but it will absolutely release the memory to be used in allocating other objects, assuming that the results are not currently in use. References an object while still allowing it to be garbage collected. |
MemoryCacheLevel Class | IBatisNet.DataMapper.Configuration.Cache.Memory Namespace