C# Class Weed3Demo.config.MemCache

Inheritance: ICacheService
Show file Open project: noear/Weed3

Public Methods

Method Description
MemCache ( string keyHead, int defSeconds, string host ) : System
get ( string key ) : object
getCacheKeyHead ( ) : string
getDefalutSeconds ( ) : int
remove ( string key ) : void
store ( string key, object obj, int seconds ) : void

Private Methods

Method Description
InitMemCache ( string host ) : void

Method Details

MemCache() public method

public MemCache ( string keyHead, int defSeconds, string host ) : System
keyHead string
defSeconds int
host string
return System

get() public method

public get ( string key ) : object
key string
return object

getCacheKeyHead() public method

public getCacheKeyHead ( ) : string
return string

getDefalutSeconds() public method

public getDefalutSeconds ( ) : int
return int

remove() public method

public remove ( string key ) : void
key string
return void

store() public method

public store ( string key, object obj, int seconds ) : void
key string
obj object
seconds int
return void