| java.lang.Object org.apache.torque.manager.MethodResultCache
All known Subclasses: org.apache.torque.manager.NoOpMethodResultCache,
MethodResultCache | public class MethodResultCache (Code) | | This class provides a cache for convenient storage of method
results.
author: John McNally version: $Id: MethodResultCache.java 552334 2007-07-01 16:26:41Z tv $ |
Method Summary | |
public void | clear() | public Object | get(Serializable instanceOrClass, String method) | public Object | get(Serializable instanceOrClass, String method, Serializable arg1) | public Object | get(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2) | public Object | get(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2, Serializable arg3) | public Object | get(Serializable[] keys) | protected Object | getImpl(MethodCacheKey key) | public void | put(Object value, Serializable instanceOrClass, String method) | public void | put(Object value, Serializable instanceOrClass, String method, Serializable arg1) | public void | put(Object value, Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2) | public void | put(Object value, Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2, Serializable arg3) | public void | put(Object value, Serializable[] keys) | protected Object | putImpl(MethodCacheKey key, Object value) | public Object | remove(Serializable instanceOrClass, String method) | public Object | remove(Serializable instanceOrClass, String method, Serializable arg1) | public Object | remove(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2) | public Object | remove(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2, Serializable arg3) | public Object | remove(Serializable[] keys) | public void | removeAll(Serializable instanceOrClass, String method) | protected Object | removeImpl(MethodCacheKey key) |
MethodResultCache | protected MethodResultCache()(Code) | | Allows subclasses to have ctors that do not require a cache.
This is used by NullMethodResultCache which has no-op versions
of all methods.
|
clear | public void clear()(Code) | | |
|
|