org.qi4j.library.cache
Class InvocationCacheMixin

java.lang.Object
  extended by org.qi4j.library.cache.InvocationCacheMixin
All Implemented Interfaces:
InvocationCache

public class InvocationCacheMixin
extends java.lang.Object
implements InvocationCache

JAVADOC


Constructor Summary
InvocationCacheMixin()
           
 
Method Summary
 java.lang.Object cachedValue(java.lang.String name)
           
 void clearCachedValues()
           
 int currentCacheSize()
           
 java.lang.Object removeCachedValue(java.lang.String name)
           
 java.lang.Object setCachedValue(java.lang.String name, java.lang.Object aResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationCacheMixin

public InvocationCacheMixin()
Method Detail

setCachedValue

public java.lang.Object setCachedValue(java.lang.String name,
                                       java.lang.Object aResult)
Specified by:
setCachedValue in interface InvocationCache

cachedValue

public java.lang.Object cachedValue(java.lang.String name)
Specified by:
cachedValue in interface InvocationCache

removeCachedValue

public java.lang.Object removeCachedValue(java.lang.String name)
Specified by:
removeCachedValue in interface InvocationCache

clearCachedValues

public void clearCachedValues()
Specified by:
clearCachedValues in interface InvocationCache

currentCacheSize

public int currentCacheSize()
Specified by:
currentCacheSize in interface InvocationCache