| org.jsmtpd.tools.cache.ICache
ICache | public interface ICache (Code) | | Cache things
author: jean-francois POUX< Parameters: Key - >< Parameters: Value - > |
Method Summary | |
public void | cache(Key key, Value value) | public void | clear() | public void | destroy(Key k) | public Value | get(Key k) |
cache | public void cache(Key key, Value value)(Code) | | Cache something
Parameters: key - Parameters: value - |
clear | public void clear()(Code) | | Clears the entire cache
|
destroy | public void destroy(Key k)(Code) | | Expires a cached item
Parameters: k - |
get | public Value get(Key k)(Code) | | get something from cache
Parameters: k - key throws: CacheFaultException - when not found |
|
|