com.endeca.portal.mdex.cache
Class DefaultMDEXCacheManager

java.lang.Object
  extended by com.endeca.portal.mdex.cache.DefaultMDEXCacheManager
All Implemented Interfaces:
MDEXCacheManager

public class DefaultMDEXCacheManager
extends java.lang.Object
implements MDEXCacheManager

The default MDEXCacheManager implementation. Always returns false for isQueryCached(); always returns null for getCachedResults(), and is always a no-op for cacheResults(). In other words, this class is a no-op.

Author:
Endeca Technologies, Inc.

Constructor Summary
DefaultMDEXCacheManager()
           
 
Method Summary
 void cacheResults(com.endeca.mdex.conversation.ConversationPort port, com.endeca.mdex.conversation.Request query, com.endeca.mdex.conversation.Results results)
          Put results into the cache for MDEX 7 queries
 com.endeca.mdex.conversation.Results getCachedResults(com.endeca.mdex.conversation.ConversationPort port, com.endeca.mdex.conversation.Request query)
          Get the cached version of results for MDEX 7 queries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMDEXCacheManager

public DefaultMDEXCacheManager()
Method Detail

getCachedResults

public com.endeca.mdex.conversation.Results getCachedResults(com.endeca.mdex.conversation.ConversationPort port,
                                                             com.endeca.mdex.conversation.Request query)
Description copied from interface: MDEXCacheManager
Get the cached version of results for MDEX 7 queries

Specified by:
getCachedResults in interface MDEXCacheManager
Returns:
the cached results

cacheResults

public void cacheResults(com.endeca.mdex.conversation.ConversationPort port,
                         com.endeca.mdex.conversation.Request query,
                         com.endeca.mdex.conversation.Results results)
Description copied from interface: MDEXCacheManager
Put results into the cache for MDEX 7 queries

Specified by:
cacheResults in interface MDEXCacheManager