org.kuali.student.common.ui.server.gwt
Class SearchDispatchRpcGwtServlet.MaxAgeSoftReference<T>

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference<T>
          extended by org.kuali.student.common.ui.server.gwt.SearchDispatchRpcGwtServlet.MaxAgeSoftReference<T>
Enclosing class:
SearchDispatchRpcGwtServlet

public class SearchDispatchRpcGwtServlet.MaxAgeSoftReference<T>
extends SoftReference<T>

An extension to SoftReference that stores an expiration time for the value stored in the SoftReference. If no expiration time is passed in the value will never be cached.


Constructor Summary
SearchDispatchRpcGwtServlet.MaxAgeSoftReference(long expires, T referent)
           
 
Method Summary
 T get()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchDispatchRpcGwtServlet.MaxAgeSoftReference

public SearchDispatchRpcGwtServlet.MaxAgeSoftReference(long expires,
                                                       T referent)
Method Detail

isValid

public boolean isValid()

get

public T get()
Overrides:
get in class SoftReference<T>


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.