Method | Description | |
---|---|---|
Flush ( ) : void | ||
Get ( string key, System.TimeSpan maxAge, bool removeIfExpired ) : ICacheItem | ||
PersistentCache ( string filename, |
||
Shrink ( long size ) : void | ||
ToArray ( |
Return all items in the cache. Works similarly to ArrayList.ToArray(Type).
|
|
this ( string key ) : ICacheItem |
Gets or sets cache values.
|
Method | Description | |
---|---|---|
Expired ( System.DateTime test, System.TimeSpan age ) : bool | ||
InternalGet ( string key ) : ICacheItem | ||
InternalGetAll ( |
||
InternalSet ( string key, ICacheItem value ) : ICacheItem | ||
Load ( Stream s ) : |
||
Persist ( ) : void | ||
Refresh ( ) : void | ||
RemoveKey ( string key ) : ICacheItem | ||
Store ( Stream s, |
public Get ( string key, System.TimeSpan maxAge, bool removeIfExpired ) : ICacheItem | ||
key | string | |
maxAge | System.TimeSpan | |
removeIfExpired | bool | |
return | ICacheItem |
public PersistentCache ( string filename, |
||
filename | string | |
persister | ||
maxSize | long | |
return | System |
public ToArray ( |
||
valueType | ||
return | ICacheItem[] |