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

StrongTimedContent - JBOSS Portal 2.4 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.portlet.result.cache.TimedContent
      extended byorg.jboss.portal.portlet.result.cache.StrongTimedContent
All Implemented Interfaces:
java.io.Serializable

public class StrongTimedContent
extends TimedContent

Use strong references.

See Also:
Serialized Form

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

Constructor Detail

StrongTimedContent

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

getContent

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

Specified by:
getContent in class TimedContent