28 lines
656 B
C#
28 lines
656 B
C#
|
|
namespace Umbraco.Core.Scoping
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Specifies the cache mode of repositories.
|
|||
|
|
/// </summary>
|
|||
|
|
public enum RepositoryCacheMode
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Unspecified.
|
|||
|
|
/// </summary>
|
|||
|
|
Unspecified = 0,
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Default, full L2 cache.
|
|||
|
|
/// </summary>
|
|||
|
|
Default = 1,
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Scoped cache.
|
|||
|
|
/// </summary>
|
|||
|
|
/// <remarks>
|
|||
|
|
/// <para>Reads from, and writes to, a scope-local cache.</para>
|
|||
|
|
/// <para>Upon scope completion, clears the global L2 cache.</para>
|
|||
|
|
/// </remarks>
|
|||
|
|
Scoped = 2
|
|||
|
|
}
|
|||
|
|
}
|