org.jboss.portal.server.output.cache
Class SoftTimedContent
java.lang.Object
org.jboss.portal.server.output.cache.TimedContent
org.jboss.portal.server.output.cache.SoftTimedContent
- public class SoftTimedContent
- extends TimedContent
Use soft reference.
- Version:
- $Revision: 1.2 $
- Author:
- Julien Viet
Fields inherited from class org.jboss.portal.server.output.cache.TimedContent |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
private final WeakReference content
- The content.
SoftTimedContent
public SoftTimedContent(FragmentResult content,
long expirationTimeMillis)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
- if the content is null
getContent
public FragmentResult getContent()
- Description copied from class:
TimedContent
- Return the content, possibly null.
- Specified by:
getContent
in class TimedContent
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.