org.jboss.portal.portlet.result.cache
Class TimedContent

java.lang.Object
  extended byorg.jboss.portal.portlet.result.cache.TimedContent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SoftTimedContent, StrongTimedContent

public abstract class TimedContent
extends java.lang.Object
implements java.io.Serializable

A fragment result + its expiration date.

See Also:
Serialized Form

Constructor Summary
TimedContent(long expirationTimeMillis)
           
 
Method Summary
abstract  FragmentResult getContent()
          Return the content, possibly null.
 long getExpirationTimeMillis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedContent

public TimedContent(long expirationTimeMillis)
Method Detail

getContent

public abstract FragmentResult getContent()
Return the content, possibly null.


getExpirationTimeMillis

public long getExpirationTimeMillis()