Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractCache.DoInsert Method

Actually does the cache implementation specific insert operation into the cache.

[Visual Basic]
Protected MustOverride Sub DoInsert( _
   ByVal key As Object, _
   ByVal value As Object, _
   ByVal timeToLive As TimeSpan _
)
[C#]
protected abstract void DoInsert(
   object key,
   object value,
   TimeSpan timeToLive
);

Parameters

key
Item key.
value
Item value.
timeToLive
Item's time-to-live (TTL).

Remarks

Items inserted using this method have default cache priority.

See Also

AbstractCache Class | Spring.Caching Namespace