C# Class Noear.Weed.Cache.LocalCache

Inheritance: ICacheService
Show file Open project: noear/Weed3

Public Methods

Method Description
LocalCache ( String keyHeader, int defSeconds ) : System
LocalCache ( String keyHeader, int defSeconds, int recordMax ) : System
get ( String key ) : Object
getCacheKeyHead ( ) : String
getDefalutSeconds ( ) : int
remove ( String key ) : void
store ( String key, Object obj, int seconds ) : void

Method Details

LocalCache() public method

public LocalCache ( String keyHeader, int defSeconds ) : System
keyHeader String
defSeconds int
return System

LocalCache() public method

public LocalCache ( String keyHeader, int defSeconds, int recordMax ) : System
keyHeader String
defSeconds int
recordMax int
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