org.jasig.portal
Class MultithreadedCacheableChannelAdapter

java.lang.Object
  extended by org.jasig.portal.MultithreadedChannelAdapter
      extended by org.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.2 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com
See Also:
MultithreadedChannelAdapter

Field Summary
 
Fields inherited from class org.jasig.portal.MultithreadedChannelAdapter
channel, uid
 
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
clone, equals, finalize, 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