站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

TimedContent - JBOSS Portal 2.6 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.portlet.invocation.response.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.

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

Field Summary
private  long expirationTimeMillis
          Expiration date.
 
Constructor Summary
TimedContent(long expirationTimeMillis)
           
 
Method Summary
abstract  FragmentResponse 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
 

Field Detail

expirationTimeMillis

private final long expirationTimeMillis
Expiration date.

Constructor Detail

TimedContent

public TimedContent(long expirationTimeMillis)
Method Detail

getContent

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


getExpirationTimeMillis

public long getExpirationTimeMillis()