C# 클래스 Utilities.CacheUtil

파일 보기 프로젝트 열기: jediskywalker/RTDeals

공개 메소드들

메소드 설명
Exists ( string key ) : System.Boolean

used to determine if object in cache exists

GetCacheItem ( string key ) : object

get specified cache item based on key provided

RemoveCacheItem ( string key ) : void

remove specified cache item

SetCacheItem ( string key, object data, int expireInSeconds ) : void

Insert an item into cache

비공개 메소드들

메소드 설명
CacheUtil ( ) : System

메소드 상세

Exists() 공개 정적인 메소드

used to determine if object in cache exists
public static Exists ( string key ) : System.Boolean
key string
리턴 System.Boolean

GetCacheItem() 공개 정적인 메소드

get specified cache item based on key provided
public static GetCacheItem ( string key ) : object
key string
리턴 object

RemoveCacheItem() 공개 정적인 메소드

remove specified cache item
public static RemoveCacheItem ( string key ) : void
key string
리턴 void

SetCacheItem() 공개 정적인 메소드

Insert an item into cache
public static SetCacheItem ( string key, object data, int expireInSeconds ) : void
key string
data object
expireInSeconds int
리턴 void