# StreamCacheEvictionOptions.DataMinTimeInCache

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.streamcacheevictionoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.streamcacheevictionoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Common/RecoverableStreamOptions.cs)

```csharp
public TimeSpan DataMinTimeInCache
```

Gets or sets the minimum time a message will stay in cache before it is available for time based purge.
