Class SoftContentRef
- java.lang.Object
-
- org.gatein.pc.portlet.aspects.cache.ContentRef
-
- org.gatein.pc.portlet.aspects.cache.SoftContentRef
-
- All Implemented Interfaces:
Serializable
public class SoftContentRef extends ContentRef
Use soft reference.- Version:
- $Revision:5417 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SoftContentRef(org.gatein.pc.api.invocation.response.ContentResponse content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gatein.pc.api.invocation.response.ContentResponsegetContent()Returns the content, possibly null.
-
-
-
Constructor Detail
-
SoftContentRef
public SoftContentRef(org.gatein.pc.api.invocation.response.ContentResponse content) throws IllegalArgumentException- Parameters:
content- the content- Throws:
IllegalArgumentException- if the content is null
-
-
Method Detail
-
getContent
public org.gatein.pc.api.invocation.response.ContentResponse getContent()
Description copied from class:ContentRefReturns the content, possibly null.- Specified by:
getContentin classContentRef- Returns:
- the content
-
-