C# 클래스 Profiles.Framework.Utilities.Cache

파일 보기 프로젝트 열기: ProfilesRNS/ProfilesRNS

공개 메소드들

메소드 설명
AlterDependency ( string key ) : void
Fetch ( string key ) : XmlDocument

Used to Fetch RDF data or Presentation data from cache.

FetchObject ( string key ) : Object

Used to Fetch RDF data or Presentation data from cache.

HashForKey ( string plainText ) : string

Takes a string of plain text and then returns a MD5 hash value

Remove ( string key ) : void
Set ( string key, Object data ) : void
Set ( string key, Object data, System.Int64 nodeId, String sessionID ) : void

Uses the web.config value for CACHE_EXPIRE to set the lenght of time for an object to be stored in RAM on web server.

Set ( string key, Object data, double cachetimeout, System.Web.Caching.CacheDependency dependency ) : void

Used to Set objects in cache for a set timout lenght of time.

SetWithTimeout ( string key, Object data, double cachetimeout ) : void

메소드 상세

AlterDependency() 공개 정적인 메소드

public static AlterDependency ( string key ) : void
key string
리턴 void

Fetch() 공개 정적인 메소드

Used to Fetch RDF data or Presentation data from cache.
public static Fetch ( string key ) : XmlDocument
key string
리턴 System.Xml.XmlDocument

FetchObject() 공개 정적인 메소드

Used to Fetch RDF data or Presentation data from cache.
public static FetchObject ( string key ) : Object
key string
리턴 Object

HashForKey() 공개 정적인 메소드

Takes a string of plain text and then returns a MD5 hash value
public static HashForKey ( string plainText ) : string
plainText string
리턴 string

Remove() 공개 정적인 메소드

public static Remove ( string key ) : void
key string
리턴 void

Set() 공개 정적인 메소드

public static Set ( string key, Object data ) : void
key string
data Object
리턴 void

Set() 공개 정적인 메소드

Uses the web.config value for CACHE_EXPIRE to set the lenght of time for an object to be stored in RAM on web server.
public static Set ( string key, Object data, System.Int64 nodeId, String sessionID ) : void
key string Unique key value to Set and Fetch item from cache
data Object Data value to be Set in cache
nodeId System.Int64
sessionID String
리턴 void

Set() 공개 정적인 메소드

Used to Set objects in cache for a set timout lenght of time.
public static Set ( string key, Object data, double cachetimeout, System.Web.Caching.CacheDependency dependency ) : void
key string
data Object
cachetimeout double
dependency System.Web.Caching.CacheDependency
리턴 void

SetWithTimeout() 공개 정적인 메소드

public static SetWithTimeout ( string key, Object data, double cachetimeout ) : void
key string
data Object
cachetimeout double
리턴 void