Uses of Class
com.bytedesk.core.thread.ActiveThreadCache
Packages that use ActiveThreadCache
Package
Description
Thread package containing thread models and handlers
-
Uses of ActiveThreadCache in com.bytedesk.core.thread
Methods in com.bytedesk.core.thread that return ActiveThreadCacheModifier and TypeMethodDescriptionstatic ActiveThreadCache从 JSON 字符串解析static ActiveThreadCacheActiveThreadCache.fromThread(ThreadEntity thread) 从 ThreadEntity 创建缓存对象Methods in com.bytedesk.core.thread that return types with arguments of type ActiveThreadCacheModifier and TypeMethodDescriptionActiveThreadCacheService.getActiveThread(String threadUid) 获取单个活跃会话缓存ActiveThreadCacheService.getAllActiveServiceThreads()获取所有活跃服务会话缓存 用于替代数据库查询 findServiceThreadStateStarted -
Uses of ActiveThreadCache in com.bytedesk.service.visitor_thread
Methods in com.bytedesk.service.visitor_thread with parameters of type ActiveThreadCacheModifier and TypeMethodDescriptionprivate voidVisitorThreadEventListener.handleAgentProactiveTriggerFromCache(ActiveThreadCache cache, String topic) 处理客服主动触发(使用缓存)private voidVisitorThreadEventListener.handleProactiveTriggerFromCache(ActiveThreadCache cache) 使用缓存数据处理主动触发消息 根据类型从缓存中判断是否需要触发,仅在需要时才查询数据库获取完整信息private voidVisitorThreadEventListener.handleRobotProactiveTriggerFromCache(ActiveThreadCache cache, String topic) 处理机器人主动触发(使用缓存)private voidVisitorThreadEventListener.handleWorkgroupProactiveTriggerFromCache(ActiveThreadCache cache, String topic) 处理工作组主动触发(使用缓存)private voidVisitorThreadEventListener.processProactiveTriggerFromCache(ActiveThreadCache cache) 使用缓存数据处理主动触发逻辑