org.jboss.portal.portlet.invocation.response.cache
Class SoftTimedContent

java.lang.Object
  extended by org.jboss.portal.portlet.invocation.response.cache.TimedContent
      extended by org.jboss.portal.portlet.invocation.response.cache.SoftTimedContent
All Implemented Interfaces:
java.io.Serializable

public class SoftTimedContent
extends TimedContent

Use soft reference.

Version:
$Revision:5417 $
Author:
Julien Viet
See Also:
Serialized Form

Constructor Summary
SoftTimedContent(FragmentResponse content, long expirationTimeMillis)
           
 
Method Summary
 FragmentResponse getContent()
          Return the content, possibly null.
 
Methods inherited from class org.jboss.portal.portlet.invocation.response.cache.TimedContent
getExpirationTimeMillis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftTimedContent

public SoftTimedContent(FragmentResponse content,
                        long expirationTimeMillis)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException - if the content is null
Method Detail

getContent

public FragmentResponse getContent()
Description copied from class: TimedContent
Return the content, possibly null.

Specified by:
getContent in class TimedContent