当前位置:网站首页>七牛云刷新CDN缓存
七牛云刷新CDN缓存
2022-07-19 14:49:00 【BIG_PEI】
Auth auth = Auth.create ("ak", "sk");
CdnManager c = new CdnManager (auth);
//待刷新的资源列表
String[] dirs = new String[] {
"http://xxxx/douyin.apk"
};
try {
//单次方法调用刷新的目录不可以超过10个,另外刷新目录权限需要联系技术支持开通
CdnResult.RefreshResult result = c.refreshUrls (dirs);
System.out.println ("code: {}"+ result.code);
//获取其他的回复内容
} catch (QiniuException e) {
log.info ("刷新CDN失败: response: {}", e.response.toString ());
}
System.out.println ("刷新CDN成功");
边栏推荐
- Review the first time, 220617, DWD layer, DWB layer, video,
- Roommates master binary tree while playing cloud top (super detailed)
- 获取数据库连接的五种方式
- review第2遍,220614,视频,Day03_数据仓库设计,
- Google Chrome cannot be installed successfully after uninstallation
- 训练自己的实例分割模型
- Five ways to obtain database connection
- The way of learning C language (I) -- getting to know C language for the first time
- 青花瓷Charles使用
- Swagger(或Postman)关于日期类型的传参方式
猜你喜欢
Ampere Altra Max 提供可持续的高分辨率 H.265 编码
idea读取配置文件如ValidationMessages.properties中文乱码
Roommates master binary tree while playing cloud top (super detailed)
[JDBC] encapsulation of database addition, deletion, modification and query operations
判断两个时间端是否含有交集
10. Thread
Import changes and enable auto import of idea
大华海康摄像头视频拉流
振动信号的采集与预处理
Towards Open World Object Detection
随机推荐
Shadow Detection
【FreeSwitch开发实践】死锁问题解决Over Session Limit 1000/Locked, Waiting on external entities
idea读取配置文件如ValidationMessages.properties中文乱码
Join hands with Ziguang zhanrui to enter the Internet of things chip market with German communication through Hezhan microelectronics
MobileNet,从V1到V3
[JDBC] encapsulation of database addition, deletion, modification and query operations
List集合排序(适用基本类型与对象类型)
Detailed explanation of parental delegation model and destructive parental delegation model
idea2021启动失败 Could not find main class com/intellij/idea/Main
Acquisition and pretreatment of vibration signal
8. Process
11. 处理机调度的概念、层次
获取数据库连接的五种方式
Review 1, 220619, Data Warehouse DWB Layer downsize, video,
Redis common classic interview questions
Applet learning notes - other knowledge points
Flex vertical layout elastic compression of applet
李宏毅《机器学习》丨3. Gradient Descent(梯度下降)
Oracle notes
Explain output analysis of MySQL