Class NullCacheService
java.lang.Object
rocks.imsofa.ai.puppychatter.cache.NullCacheService
- All Implemented Interfaces:
CacheService
- Author:
- lendle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheReply(List<Conversation> query, Conversation reply) getCachedReply(List<Conversation> conversations) the last conversation is the questionsync2BoundConversations(List<Conversation> conversations) convert each instances in the input conversation list to conversation record stored in database
-
Constructor Details
-
NullCacheService
public NullCacheService()
-
-
Method Details
-
getCachedReply
Description copied from interface:CacheServicethe last conversation is the question- Specified by:
getCachedReplyin interfaceCacheService- Returns:
-
sync2BoundConversations
Description copied from interface:CacheServiceconvert each instances in the input conversation list to conversation record stored in database- Specified by:
sync2BoundConversationsin interfaceCacheService- Returns:
-
cacheReply
- Specified by:
cacheReplyin interfaceCacheService- Throws:
Exception
-