全局配置逻辑实现
This commit is contained in:
1 parent
da4af93a1e
commit
cf8220edbd
13 files changed
+361
-35
No files matched your search
@@ -15,6 +15,11 @@ import com.ruoyi.system.domain.UsdtConfigPlus;
|
||||
*/
|
||||
public interface UsdtConfigMapper extends BaseMapper<UsdtConfigPlus>
|
||||
{
|
||||
/** 锁定全局配置记录;空表时在 MySQL InnoDB 下同时锁定首记录间隙。 */
|
||||
UsdtConfig selectFirstForUpdate();
|
||||
|
||||
/** 使用旧版本作为条件原子更新加密信封,防止并发轮换互相覆盖。 */
|
||||
int rotateEnvelope(@Param("config") UsdtConfig config, @Param("oldVersion") Long oldVersion);
|
||||
/**
|
||||
* 查询全局配置
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user