diff --git a/src/Umbraco.Core/Sync/RefreshInstructionEnvelope.cs b/src/Umbraco.Core/Sync/RefreshInstructionEnvelope.cs index 12922d6dab..2a198ef99c 100644 --- a/src/Umbraco.Core/Sync/RefreshInstructionEnvelope.cs +++ b/src/Umbraco.Core/Sync/RefreshInstructionEnvelope.cs @@ -3,7 +3,11 @@ using umbraco.interfaces; namespace Umbraco.Core.Sync { - public class RefreshInstructionEnvelope + /// + /// Used for any 'Batched' instances which specifies a set of targeting a collection of + /// + /// + public sealed class RefreshInstructionEnvelope { public RefreshInstructionEnvelope(IEnumerable servers, ICacheRefresher refresher, IEnumerable instructions) { diff --git a/src/Umbraco.Core/Sync/ServerMessengerBase.cs b/src/Umbraco.Core/Sync/ServerMessengerBase.cs index 2585922078..5da0837c2d 100644 --- a/src/Umbraco.Core/Sync/ServerMessengerBase.cs +++ b/src/Umbraco.Core/Sync/ServerMessengerBase.cs @@ -144,6 +144,16 @@ namespace Umbraco.Core.Sync #region Deliver + /// + /// Executes the non strongly typed on the local/current server + /// + /// + /// + /// + /// + /// + /// Since this is only for non strongly typed it will throw for message types that by instance + /// protected void DeliverLocal(ICacheRefresher refresher, MessageType messageType, IEnumerable ids = null, string json = null) { if (refresher == null) throw new ArgumentNullException("refresher"); @@ -195,7 +205,18 @@ namespace Umbraco.Core.Sync throw new NotSupportedException("Invalid message type " + messageType); } } - + + /// + /// Executes the strongly typed on the local/current server + /// + /// + /// + /// + /// + /// + /// + /// Since this is only for strongly typed it will throw for message types that are not by instance + /// protected void DeliverLocal(ICacheRefresher refresher, MessageType messageType, Func getId, IEnumerable instances) { if (refresher == null) throw new ArgumentNullException("refresher"); diff --git a/src/Umbraco.Web/Cache/DistributedCache.cs b/src/Umbraco.Web/Cache/DistributedCache.cs index db67600757..eb46f91ad1 100644 --- a/src/Umbraco.Web/Cache/DistributedCache.cs +++ b/src/Umbraco.Web/Cache/DistributedCache.cs @@ -10,8 +10,13 @@ namespace Umbraco.Web.Cache /// Represents the entry point into Umbraco's distributed cache infrastructure. /// /// - /// The distributed cache infrastructure ensures that distributed caches are - /// invalidated properly in load balancing environments. + /// + /// The distributed cache infrastructure ensures that distributed caches are + /// invalidated properly in load balancing environments. + /// + /// + /// Distribute caches include static (in-memory) cache, runtime cache, front-end content cache, Examine/Lucene indexes + /// /// public sealed class DistributedCache {