2016-03-17 16:05:56 +01:00
|
|
|
|
namespace Umbraco.Core.Cache
|
2015-04-08 14:21:58 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A cache refresher that supports refreshing cache based on a custom payload
|
|
|
|
|
|
/// </summary>
|
2016-05-26 17:12:04 +02:00
|
|
|
|
interface IPayloadCacheRefresher<TPayload> : IJsonCacheRefresher
|
2015-04-08 14:21:58 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Refreshes, clears, etc... any cache based on the information provided in the payload
|
|
|
|
|
|
/// </summary>
|
2016-05-26 17:12:04 +02:00
|
|
|
|
/// <param name="payloads"></param>
|
|
|
|
|
|
void Refresh(TPayload[] payloads);
|
2015-04-08 14:21:58 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|