<PackageReference Include="Polly" Version="5.1.1-v5-x-cachealpha0001" />
API Differences between 5.1.1-v5-x-cachealpha0001 and 5.2.0
85 Additions
20 Removals
Polly
-
public interface IAsyncPolicy : IsPolicy
-
public interface IAsyncPolicy<TResult> : IsPolicy
-
public interface IsPolicy
-
public interface ISyncPolicy : IsPolicy
-
public abstract class Policy
- public static CachePolicy Cache(ICacheProvider cacheProvider, TimeSpan ttl)
- public static CachePolicy Cache(ICacheProvider cacheProvider, ITtlStrategy ttlStrategy)
- public static CachePolicy Cache(ICacheProvider cacheProvider, TimeSpan ttl, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy Cache(ICacheProvider cacheProvider, ITtlStrategy ttlStrategy, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider cacheProvider, TimeSpan ttl)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider cacheProvider, ITtlStrategy ttlStrategy)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider<TResult> cacheProvider, TimeSpan ttl)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider<TResult> cacheProvider, ITtlStrategy ttlStrategy)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider cacheProvider, TimeSpan ttl, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider cacheProvider, ITtlStrategy ttlStrategy, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider<TResult> cacheProvider, TimeSpan ttl, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> Cache<TResult>(ICacheProvider<TResult> cacheProvider, ITtlStrategy ttlStrategy, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy CacheAsync(ICacheProviderAsync cacheProvider, TimeSpan ttl)
- public static CachePolicy CacheAsync(ICacheProviderAsync cacheProvider, ITtlStrategy ttlStrategy)
- public static CachePolicy CacheAsync(ICacheProviderAsync cacheProvider, TimeSpan ttl, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy CacheAsync(ICacheProviderAsync cacheProvider, ITtlStrategy ttlStrategy, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync cacheProvider, TimeSpan ttl)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync cacheProvider, ITtlStrategy ttlStrategy)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync<TResult> cacheProvider, TimeSpan ttl)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync<TResult> cacheProvider, ITtlStrategy ttlStrategy)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync cacheProvider, TimeSpan ttl, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync cacheProvider, ITtlStrategy ttlStrategy, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync<TResult> cacheProvider, TimeSpan ttl, ICacheKeyStrategy cacheKeyStrategy)
- public static CachePolicy<TResult> CacheAsync<TResult>(ICacheProviderAsync<TResult> cacheProvider, ITtlStrategy ttlStrategy, ICacheKeyStrategy cacheKeyStrategy)
Polly.Bulkhead
Polly.Caching
-
public class CachePolicy : Policy
-
public class CachePolicy<TResult> : Policy<TResult>
-
public static class CacheProviderExtensions
- public static ICacheProvider<TCacheFormat> As<TCacheFormat>(this ICacheProvider nonGenericCacheProvider)
- public static ICacheProviderAsync<TCacheFormat> AsyncAs<TCacheFormat>(this ICacheProviderAsync nonGenericCacheProvider)
- public static SerializingCacheProvider<TSerialized> WithSerializer<TSerialized>(this ICacheProvider<TSerialized> cacheProvider, ICacheItemSerializer<object, TSerialized> serializer)
- public static SerializingCacheProvider<TResult, TSerialized> WithSerializer<TResult, TSerialized>(this ICacheProvider<TSerialized> cacheProvider, ICacheItemSerializer<TResult, TSerialized> serializer)
- public static SerializingCacheProviderAsync<TSerialized> WithSerializer<TSerialized>(this ICacheProviderAsync<TSerialized> cacheProvider, ICacheItemSerializer<object, TSerialized> serializer)
- public static SerializingCacheProviderAsync<TResult, TSerialized> WithSerializer<TResult, TSerialized>(this ICacheProviderAsync<TSerialized> cacheProvider, ICacheItemSerializer<TResult, TSerialized> serializer)
-
public class ContextualTimeSpanTtl : ITtlStrategy
-
public class DefaultCacheKeyStrategy : ICacheKeyStrategy
-
public interface ICacheItemSerializer<TResult, TSerialized>
- TResult Deserialize(TSerialized objectToDeserialize)
- TSerialized Serialize(TResult objectToSerialize)
-
public interface ICacheKeyStrategy
-
public interface ICacheProvider
- object Get(string key)
- void Put(string key, object value, TimeSpan ttl)
-
public interface ICacheProvider<TResult>
- TResult Get(string key)
- void Put(string key, TResult value, TimeSpan ttl)
-
public interface ICacheProviderAsync
-
public interface ICacheProviderAsync<TResult>
-
public interface ITtlStrategy
-
public class PointInTimeTtl : ITtlStrategy
-
public class SerializingCacheProvider<TSerialized> : ICacheProvider
-
public class SerializingCacheProvider<TResult, TSerialized> : ICacheProvider<TResult>
-
public class SerializingCacheProviderAsync<TSerialized> : ICacheProviderAsync
-
public class SerializingCacheProviderAsync<TResult, TSerialized> : ICacheProviderAsync<TResult>
-
public class TimeSpanTtl : ITtlStrategy
-
public class TypedCacheProvider<TCacheFormat> : ICacheProvider<TCacheFormat>
-
public class TypedCacheProviderAsync<TCacheFormat> : ICacheProviderAsync<TCacheFormat>
Polly.CircuitBreaker
Polly.Fallback
Polly.NoOp
Polly.Registry
Polly.Retry
Polly.Timeout
Polly.Utilities
Polly.Wrap