当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
SoftTimedContent - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.invocation.response.cache
Class SoftTimedContent
java.lang.Object
org.jboss.portal.portlet.invocation.response.cache.TimedContent
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
Field Summary |
private java.lang.ref.WeakReference |
content
The content. |
private static long |
serialVersionUID
The serialVersionUID |
Fields inherited from class org.jboss.portal.portlet.invocation.response.cache.TimedContent |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- The serialVersionUID
- See Also:
- Constant Field Values
content
private transient java.lang.ref.WeakReference content
- The content.
SoftTimedContent
public SoftTimedContent(FragmentResponse content,
long expirationTimeMillis)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
- if the content is null
getContent
public FragmentResponse getContent()
- Description copied from class:
TimedContent
- Return the content, possibly null.
- Specified by:
getContent
in class TimedContent