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

CacheModel Members

CacheModel overview

Public Static (Shared) Fields

NO_FLUSH_INTERVAL Constant to turn off periodic cache flushes
NULL_OBJECT This is used to represent null objects that are returned from the cache so that they can be cached, too.

Public Instance Constructors

CacheModel Constructor Constructor

Public Instance Properties

CacheController Set the cache controller
FlushInterval Set or get the flushInterval (in Ticks)
HitRatio
Id Identifier used to identify the CacheModel amongst the others.
Implementation Cache controller implementation name.
IsReadOnly Determines if the cache will be used as a read-only cache. Tells the cache model that is allowed to pass back a reference to the object existing in the cache.
IsSerializable Specifie how the cache content should be returned. If true a deep copy is returned.
Item Adds an item with the specified key and value into cached data. Gets a cached object with the specified key.

Public Instance Methods

AddProperty Add a property
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Flush Clears all elements from the cache.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLock
GetType (inherited from Object)Gets the Type of the current instance.
Initialize
RegisterTriggerStatement Event listener
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CacheModel Class | IBatisNet.DataMapper.Configuration.Cache Namespace