Interface ConfigAccess<T>
- All Superinterfaces:
Access<T>
- All Known Implementing Classes:
AbstractConfigAccess,GroupConfigAccess,NotifyConfigAccess,SceneConfigAccess
获取配置通道
-
Method Summary
Modifier and TypeMethodDescriptionlongintgetAllConfigGroupList(String namespaceId) 获取所有组配置信息获取所有场景配置信息getBlacklist(String groupName, String namespaceId) 场景黑名单getConfigInfo(String groupName, String namespaceId) 同步客户端配置getConfigVersion(String groupName, String namespaceId) 获取配置版本号getGroupConfigByGroupName(String groupName, String namespaceId) 根据组id获取缓存上下文getNotifyListConfigByGroupName(String shardingGroupId, String namespaceId) 获取通知配置getSceneConfigByGroupName(String groupName) 获取场景配置getSceneConfigByGroupNameAndSceneName(String groupName, String sceneName, String namespaceId) 获取场景配置intcom.baomidou.mybatisplus.extension.plugins.pagination.PageDTO<T>listPage(com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO<T> iPage, com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper<T> query) intintupdateById(T t)
-
Method Details
-
getGroupConfigByGroupName
根据组id获取缓存上下文- Parameters:
groupName- 组名称
-
getSceneConfigByGroupNameAndSceneName
RetrySceneConfig getSceneConfigByGroupNameAndSceneName(String groupName, String sceneName, String namespaceId) 获取场景配置- Parameters:
groupName- 组名称sceneName- 场景名称namespaceId- 命名空间- Returns:
RetrySceneConfig场景配置
-
getNotifyListConfigByGroupName
获取通知配置- Parameters:
shardingGroupId- 组名称namespaceId-- Returns:
NotifyConfig通知配置
-
getSceneConfigByGroupName
获取场景配置- Parameters:
groupName- 组名称- Returns:
RetrySceneConfig场景配置
-
getBlacklist
场景黑名单- Returns:
- 黑名单列表
-
getAllConfigGroupList
获取所有组配置信息- Returns:
- 组配置列表
-
getAllConfigSceneList
List<RetrySceneConfig> getAllConfigSceneList()获取所有场景配置信息- Returns:
- 场景配置列表
-
getConfigVersion
获取配置版本号- Parameters:
groupName- 组名称namespaceId-- Returns:
- 版本号
-
getConfigInfo
同步客户端配置- Parameters:
groupName- 组名称namespaceId- 命名空间id- Returns:
- ConfigDTO
-
list
-
update
-
updateById
-
delete
-
insert
-
one
-
listPage
-
count
-