C# Class Utilities.CacheUtil

Afficher le fichier Open project: jediskywalker/RTDeals

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CacheUtil ( ) : System

Method Details

Exists() public static méthode

used to determine if object in cache exists
public static Exists ( string key ) : System.Boolean
key string
Résultat System.Boolean

GetCacheItem() public static méthode

get specified cache item based on key provided
public static GetCacheItem ( string key ) : object
key string
Résultat object

RemoveCacheItem() public static méthode

remove specified cache item
public static RemoveCacheItem ( string key ) : void
key string
Résultat void

SetCacheItem() public static méthode

Insert an item into cache
public static SetCacheItem ( string key, object data, int expireInSeconds ) : void
key string
data object
expireInSeconds int
Résultat void