Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NonExpiringCache.DoInsert Method

Inserts an item into the cache.

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

Parameters

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

See Also

NonExpiringCache Class | Spring.Caching Namespace