Skip to main content

ICachedServiceClient

Assembly: ServiceStack.Client.dll​
View Source​
Declaration
public interface ICachedServiceClient : IServiceClient, IRestServiceClient, IServiceClientAsync, IServiceGatewayAsync, IServiceClientSync, IHasSessionId, IHasBearerToken, IHasVersion, IHttpRestClientAsync, IRestClientAsync, IReplyClient, IServiceGateway, IOneWayClient, IRestClient, IRestClientSync, IServiceClientCommon, IDisposable

Properties​

CacheCount​

View Source​
Declaration
int CacheCount { get; }

CacheHits​

View Source​
Declaration
long CacheHits { get; }

NotModifiedHits​

View Source​
Declaration
long NotModifiedHits { get; }

ErrorFallbackHits​

View Source​
Declaration
long ErrorFallbackHits { get; }

CachesAdded​

View Source​
Declaration
long CachesAdded { get; }

CachesRemoved​

View Source​
Declaration
long CachesRemoved { get; }

Methods​

SetCache(ConcurrentDictionary<String, HttpCacheEntry>)​

View Source​
Declaration
void SetCache(ConcurrentDictionary<string, HttpCacheEntry> cache)
Parameters​
TypeName
System.Collections.Concurrent.ConcurrentDictionary<System.String,ServiceStack.HttpCacheEntry>cache

RemoveCachesOlderThan(TimeSpan)​

View Source​
Declaration
int RemoveCachesOlderThan(TimeSpan age)
Returns​

System.Int32

Parameters​
TypeName
System.TimeSpanage

RemoveExpiredCachesOlderThan(TimeSpan)​

View Source​
Declaration
int RemoveExpiredCachesOlderThan(TimeSpan age)
Returns​

System.Int32

Parameters​
TypeName
System.TimeSpanage