uPortal 2.4.1
API Documentation

org.jasig.portal
Class MultithreadedCacheableChannelAdapter

java.lang.Object
  extended byorg.jasig.portal.MultithreadedChannelAdapter
      extended byorg.jasig.portal.MultithreadedCacheableChannelAdapter
All Implemented Interfaces:
ICacheable, IChannel
Direct Known Subclasses:
CGroupsManagerServant, MultithreadedCacheableMimeResponseChannelAdapter, MultithreadedPrivilegedCacheableChannelAdapter

public class MultithreadedCacheableChannelAdapter
extends MultithreadedChannelAdapter
implements ICacheable

Internal adapter for a multithreaded channel that is also cacheable.

Version:
$Revision: 1.1 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com
See Also:
MultithreadedChannelAdapter

Constructor Summary
MultithreadedCacheableChannelAdapter(IMultithreadedChannel channel, java.lang.String uid)
           
 
Method Summary
 ChannelCacheKey generateKey()
          Requests the channel to generate a key uniqly describing it's current state, and a description of key usage.
 boolean isCacheValid(java.lang.Object validity)
          Requests the channel to verify validity of the retreived cache based on the validator object.
 
Methods inherited from class org.jasig.portal.MultithreadedChannelAdapter
getRuntimeProperties, receiveEvent, renderXML, setRuntimeData, setStaticData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultithreadedCacheableChannelAdapter

public MultithreadedCacheableChannelAdapter(IMultithreadedChannel channel,
                                            java.lang.String uid)
Method Detail

generateKey

public ChannelCacheKey generateKey()
Description copied from interface: ICacheable
Requests the channel to generate a key uniqly describing it's current state, and a description of key usage.

Specified by:
generateKey in interface ICacheable

isCacheValid

public boolean isCacheValid(java.lang.Object validity)
Description copied from interface: ICacheable
Requests the channel to verify validity of the retreived cache based on the validator object.

Specified by:
isCacheValid in interface ICacheable

uPortal 2.4.1
API Documentation