Show / Hide Table of Contents

Class OutputCachingProvider

Inheritance
object
OutputCachingProvider
DatabaseProvider
FileProvider
MemoryProvider
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.OutputCache
Assembly: DotNetNuke.dll
Syntax
public abstract class OutputCachingProvider

Constructors

OutputCachingProvider()

Declaration
protected OutputCachingProvider()

Methods

ByteArrayToString(byte[])

Declaration
protected string ByteArrayToString(byte[] arrInput)
Parameters
Type Name Description
byte[] arrInput
Returns
Type Description
string

GenerateCacheKey(int, StringCollection, StringCollection, SortedDictionary<string, string>)

Declaration
public virtual string GenerateCacheKey(int tabId, StringCollection includeVaryByKeys, StringCollection excludeVaryByKeys, SortedDictionary<string, string> varyBy)
Parameters
Type Name Description
int tabId
StringCollection includeVaryByKeys
StringCollection excludeVaryByKeys
SortedDictionary<string, string> varyBy
Returns
Type Description
string

GenerateCacheKeyHash(int, string)

Declaration
protected string GenerateCacheKeyHash(int tabId, string cacheKey)
Parameters
Type Name Description
int tabId
string cacheKey
Returns
Type Description
string

GetItemCount(int)

Declaration
public abstract int GetItemCount(int tabId)
Parameters
Type Name Description
int tabId
Returns
Type Description
int

GetOutput(int, string)

Declaration
public abstract byte[] GetOutput(int tabId, string cacheKey)
Parameters
Type Name Description
int tabId
string cacheKey
Returns
Type Description
byte[]

GetProviderList()

Declaration
public static Dictionary<string, OutputCachingProvider> GetProviderList()
Returns
Type Description
Dictionary<string, OutputCachingProvider>

GetResponseFilter(int, int, Stream, string, TimeSpan)

Declaration
public abstract OutputCacheResponseFilter GetResponseFilter(int tabId, int maxVaryByCount, Stream responseFilter, string cacheKey, TimeSpan cacheDuration)
Parameters
Type Name Description
int tabId
int maxVaryByCount
Stream responseFilter
string cacheKey
TimeSpan cacheDuration
Returns
Type Description
OutputCacheResponseFilter

Instance(string)

Declaration
public static OutputCachingProvider Instance(string friendlyName)
Parameters
Type Name Description
string friendlyName
Returns
Type Description
OutputCachingProvider

PurgeCache(int)

Declaration
public virtual void PurgeCache(int portalId)
Parameters
Type Name Description
int portalId

PurgeExpiredItems(int)

Declaration
public virtual void PurgeExpiredItems(int portalId)
Parameters
Type Name Description
int portalId

Remove(int)

Declaration
public abstract void Remove(int tabId)
Parameters
Type Name Description
int tabId

RemoveItemFromAllProviders(int)

Declaration
public static void RemoveItemFromAllProviders(int tabId)
Parameters
Type Name Description
int tabId

SetOutput(int, string, TimeSpan, byte[])

Declaration
public abstract void SetOutput(int tabId, string cacheKey, TimeSpan duration, byte[] output)
Parameters
Type Name Description
int tabId
string cacheKey
TimeSpan duration
byte[] output

StreamOutput(int, string, HttpContext)

Declaration
public abstract bool StreamOutput(int tabId, string cacheKey, HttpContext context)
Parameters
Type Name Description
int tabId
string cacheKey
HttpContext context
Returns
Type Description
bool

WriteStreamAsText(HttpContext, Stream, long, long)

Declaration
protected void WriteStreamAsText(HttpContext context, Stream stream, long offset, long length)
Parameters
Type Name Description
HttpContext context
Stream stream
long offset
long length

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS