You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace Connected.Caching;
|
|
|
|
|
|
|
|
|
|
public interface IEntry : IDisposable
|
|
|
|
|
{
|
|
|
|
|
object? Instance { get; }
|
|
|
|
|
string Id { get; }
|
|
|
|
|
bool Expired { get; }
|
|
|
|
|
TimeSpan Duration { get; }
|
|
|
|
|
bool SlidingExpiration { get; }
|
|
|
|
|
void Hit();
|
|
|
|
|
}
|