Skip to main content

ICacheClientExtended

Extend ICacheClient API with shared, non-core features

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface ICacheClientExtended : ICacheClient, IDisposable

Methods

GetTimeToLive(String)

View Source
Declaration
TimeSpan? GetTimeToLive(string key)
Returns

System.Nullable<System.TimeSpan>

Parameters
TypeName
System.Stringkey

GetKeysByPattern(String)

View Source
Declaration
IEnumerable<string> GetKeysByPattern(string pattern)
Returns

System.Collections.Generic.IEnumerable<System.String>

Parameters
TypeName
System.Stringpattern

RemoveExpiredEntries()

View Source
Declaration
void RemoveExpiredEntries()