org.jasig.portal
Interface ICacheable

All Known Implementing Classes:
CError, CError, CGroupsManagerServant, CHeader, CLogin, CPermissionsManager, CPermissionsManagerServant, CSecureInfo, DlmIntroChannel, MultithreadedCacheableChannelAdapter, MultithreadedCacheableCharacterChannelAdapter, MultithreadedCacheableMimeResponseChannelAdapter, MultithreadedCacheableMimeResponseCharacterChannelAdapter, MultithreadedPrivilegedCacheableChannelAdapter, MultithreadedPrivilegedCacheableCharacterChannelAdapter, MultithreadedPrivilegedCacheableDirectResponseCharacterChannelAdapter, MultithreadedPrivilegedCacheableMimeResponseChannelAdapter, MultithreadedPrivilegedCacheableMimeResponseCharacterChannelAdapter

public interface ICacheable

An interface that a cacheable channel must implement.

Version:
$Revision: 1.2 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com

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.
 

Method Detail

generateKey

ChannelCacheKey generateKey()
Requests the channel to generate a key uniqly describing it's current state, and a description of key usage.


isCacheValid

boolean isCacheValid(java.lang.Object validity)
Requests the channel to verify validity of the retreived cache based on the validator object.