Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseCacheAttribute.TimeToLive Property

The amount of time an object should remain in the cache.

[Visual Basic]
Public Property TimeToLive() As String
   Public Get
   End Get
   Public Set
   End Set
End Property
public string TimeToLive { public get; public set; }

Property Value

The amount of time object should remain in the cache formatted to be recognizable by Parse.


If no TTL is specified, the default TTL defined by the cache's policy will be applied.

See Also

BaseCacheAttribute Class | Spring.Caching Namespace