Interface CacheService
- All Known Implementing Classes:
FileSystemCacheService,NullCacheService
public interface CacheService
- Author:
- USER
-
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
-
Method Details
-
getCachedReply
the last conversation is the question- Parameters:
conversations-- Returns:
- Throws:
Exception
-
cacheReply
- Throws:
Exception
-
sync2BoundConversations
convert each instances in the input conversation list to conversation record stored in database- Parameters:
conversations-- Returns:
- Throws:
Exception
-