uPortal 2.4.1
API Documentation

org.jasig.portal
Class MultithreadedCacheableCharacterChannelAdapter

java.lang.Object
  extended byorg.jasig.portal.MultithreadedCharacterChannelAdapter
      extended byorg.jasig.portal.MultithreadedCacheableCharacterChannelAdapter
All Implemented Interfaces:
ICacheable, IChannel, ICharacterChannel
Direct Known Subclasses:
MultithreadedCacheableMimeResponseCharacterChannelAdapter, MultithreadedPrivilegedCacheableCharacterChannelAdapter

public class MultithreadedCacheableCharacterChannelAdapter
extends MultithreadedCharacterChannelAdapter
implements ICacheable

Internal adapter for a multithreaded character channel that is also cacheable.

Version:
$Revision: 1.3 $
Author:
Peter Kharchenko, Nick Bolton
See Also:
MultithreadedCharacterChannelAdapter

Constructor Summary
MultithreadedCacheableCharacterChannelAdapter(IMultithreadedCharacterChannel 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.MultithreadedCharacterChannelAdapter
getRuntimeProperties, receiveEvent, renderCharacters, renderXML, setRuntimeData, setStaticData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultithreadedCacheableCharacterChannelAdapter

public MultithreadedCacheableCharacterChannelAdapter(IMultithreadedCharacterChannel 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