com.googlecode.ehcache.annotations
Class RefreshableCacheEntry

java.lang.Object
  extended by com.googlecode.ehcache.annotations.RefreshableCacheEntry

public class RefreshableCacheEntry
extends java.lang.Object

Holder class that tracks a cached object and the MethodInvocation that was invoked to create the object.

Version:
$Revision: 656 $
Author:
Eric Dalquist

Constructor Summary
RefreshableCacheEntry(org.aopalliance.intercept.MethodInvocation mi, java.lang.Object value)
           
 
Method Summary
 org.aopalliance.intercept.MethodInvocation getMethodInvocation()
           
 java.lang.Object getValue()
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RefreshableCacheEntry

public RefreshableCacheEntry(org.aopalliance.intercept.MethodInvocation mi,
                             java.lang.Object value)
Method Detail

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

getMethodInvocation

public org.aopalliance.intercept.MethodInvocation getMethodInvocation()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.