Skip to content

Commit b513254

Browse files
committed
! update after release v1.6.4
1 parent b1955a3 commit b513254

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="https://github.com/alibaba/java-dns-cache-manipulator/issues"><img src="https://img.shields.io/github/issues/alibaba/java-dns-cache-manipulator" alt="GitHub issues"></a>
1717
<a href="https://github.com/alibaba/java-dns-cache-manipulator/graphs/contributors"><img src="https://img.shields.io/github/contributors/alibaba/java-dns-cache-manipulator" alt="GitHub Contributors"></a>
1818
<a href="https://github.com/alibaba/java-dns-cache-manipulator"><img src="https://img.shields.io/github/repo-size/alibaba/java-dns-cache-manipulator" alt="GitHub repo size"></a>
19-
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.3/dcm-1.6.3.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.3/dcm-1.6.3.tar.gz.svg" alt="GitHub release download - dcm.tar.gz)"></a>
19+
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.4/dcm-1.6.4.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.4/dcm-1.6.4.tar.gz.svg?logoColor=white&logo=DocuSign" alt="GitHub release download - dcm.tar.gz)"></a>
2020
</p>
2121

2222
Java Dns Cache Manipulator(`DCM`) contains 2 subprojects:
@@ -201,7 +201,7 @@ DnsCacheManipulator.clearDnsCache();
201201
### Set/View the default DNS cache time of JVM
202202

203203
```java
204-
// View the cache time, in seconds. -1 means always cache, 0 means never cache
204+
// View the cache time, in seconds. -1 means cache forever, 0 means never cache
205205
int cachePolicy = DnsCacheManipulator.getDnsCachePolicy();
206206
// Set the cache time
207207
DnsCacheManipulator.setDnsCachePolicy(2);
@@ -254,7 +254,7 @@ Java API document: <http://alibaba.github.io/java-dns-cache-manipulator/apidocs>
254254
<dependency>
255255
<groupId>com.alibaba</groupId>
256256
<artifactId>dns-cache-manipulator</artifactId>
257-
<version>1.6.3</version>
257+
<version>1.6.4</version>
258258
</dependency>
259259
```
260260

@@ -289,7 +289,7 @@ You can view the latest version at [search.maven.org](https://search.maven.org/a
289289

290290
### Download
291291

292-
[![GitHub release download - dcm.tar.gz)](https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.3/dcm-1.6.3.tar.gz.svg)](https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.3/dcm-1.6.3.tar.gz) download the file `dcm-x.x.x.tar.gz`.
292+
[![GitHub release download - dcm.tar.gz)](https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.4/dcm-1.6.4.tar.gz.svg?logoColor=white&logo=DocuSign)](https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.4/dcm-1.6.4.tar.gz) download the file `dcm-x.x.x.tar.gz`.
293293

294294
After decompression, run `dcm` in the `bin` directory.
295295

@@ -356,18 +356,16 @@ $ dcm -p 12345 clear
356356

357357
```bash
358358
# View the cache time, in seconds.
359-
# -1 means always cache, 0 means no cache
360-
# 查看缓存时间,单位秒。-1表示永远缓存,0表示不缓存
359+
# -1 means cache forever, 0 means no cache
361360
$ dcm -p 12345 getPolicy
362361
30
363362
# Set cache time
364363
$ dcm --pid 12345 setPolicy 5
365364
# View the cache time of missed entries, in seconds.
366-
# -1 means always cache, 0 means no cache
365+
# -1 means cache forever, 0 means no cache
367366
$ dcm -p 12345 getNegativePolicy
368367
10
369368
# Set the cache time of missed entries
370-
# Set the cache time of missed entries
371369
$ dcm -p 12345 setNegativePolicy 0
372370
```
373371

docs/developer-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="https://github.com/alibaba/java-dns-cache-manipulator/issues"><img src="https://img.shields.io/github/issues/alibaba/java-dns-cache-manipulator" alt="GitHub issues"></a>
1717
<a href="https://github.com/alibaba/java-dns-cache-manipulator/graphs/contributors"><img src="https://img.shields.io/github/contributors/alibaba/java-dns-cache-manipulator" alt="GitHub Contributors"></a>
1818
<a href="https://github.com/alibaba/java-dns-cache-manipulator"><img src="https://img.shields.io/github/repo-size/alibaba/java-dns-cache-manipulator" alt="GitHub repo size"></a>
19-
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.3/dcm-1.6.3.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.3/dcm-1.6.3.tar.gz.svg" alt="GitHub release download - dcm.tar.gz)"></a>
19+
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.4/dcm-1.6.4.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.4/dcm-1.6.4.tar.gz.svg?logoColor=white&logo=DocuSign" alt="GitHub release download - dcm.tar.gz)"></a>
2020
</p>
2121

2222
## How to set the DNS Cache of JVM

docs/zh-CN/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="https://github.com/alibaba/java-dns-cache-manipulator/issues"><img src="https://img.shields.io/github/issues/alibaba/java-dns-cache-manipulator" alt="GitHub issues"></a>
1717
<a href="https://github.com/alibaba/java-dns-cache-manipulator/graphs/contributors"><img src="https://img.shields.io/github/contributors/alibaba/java-dns-cache-manipulator" alt="GitHub Contributors"></a>
1818
<a href="https://github.com/alibaba/java-dns-cache-manipulator"><img src="https://img.shields.io/github/repo-size/alibaba/java-dns-cache-manipulator" alt="GitHub repo size"></a>
19-
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.3/dcm-1.6.3.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.3/dcm-1.6.3.tar.gz.svg" alt="GitHub release download - dcm.tar.gz)"></a>
19+
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.4/dcm-1.6.4.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.4/dcm-1.6.4.tar.gz.svg?logoColor=white&logo=DocuSign" alt="GitHub release download - dcm.tar.gz)"></a>
2020
</p>
2121

2222
Java Dns Cache Manipulator(`DCM`) 包含子工程:

docs/zh-CN/library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ content = m2.getResponseBodyAsString();
234234
<dependency>
235235
<groupId>com.alibaba</groupId>
236236
<artifactId>dns-cache-manipulator</artifactId>
237-
<version>1.6.3</version>
237+
<version>1.6.4</version>
238238
</dependency>
239239
```
240240

docs/zh-CN/tool.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Java Dns Cache Manipulator Tool
1717
<a href="https://github.com/alibaba/java-dns-cache-manipulator/issues"><img src="https://img.shields.io/github/issues/alibaba/java-dns-cache-manipulator" alt="GitHub issues"></a>
1818
<a href="https://github.com/alibaba/java-dns-cache-manipulator/graphs/contributors"><img src="https://img.shields.io/github/contributors/alibaba/java-dns-cache-manipulator" alt="GitHub Contributors"></a>
1919
<a href="https://github.com/alibaba/java-dns-cache-manipulator"><img src="https://img.shields.io/github/repo-size/alibaba/java-dns-cache-manipulator" alt="GitHub repo size"></a>
20-
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.3/dcm-1.6.3.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.3/dcm-1.6.3.tar.gz.svg" alt="GitHub release download - dcm.tar.gz)"></a>
20+
<a href="https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.4/dcm-1.6.4.tar.gz"><img src="https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.4/dcm-1.6.4.tar.gz.svg?logoColor=white&logo=DocuSign" alt="GitHub release download - dcm.tar.gz)"></a>
2121
</p>
2222

2323
:point_right: 设置/查看 运行中`JVM`进程的`DNS Cache`,支持`IPv6`
@@ -52,7 +52,7 @@ Java Dns Cache Manipulator Tool
5252
下载
5353
----------
5454

55-
[![GitHub release download - dcm.tar.gz)](https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.3/dcm-1.6.3.tar.gz.svg)](https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.3/dcm-1.6.3.tar.gz) 下载文件`dcm-x.x.x.tar.gz`
55+
[![GitHub release download - dcm.tar.gz)](https://img.shields.io/github/downloads/alibaba/java-dns-cache-manipulator/v1.6.4/dcm-1.6.4.tar.gz.svg?logoColor=white&logo=DocuSign)](https://github.com/alibaba/java-dns-cache-manipulator/releases/download/v1.6.4/dcm-1.6.4.tar.gz) 下载文件`dcm-x.x.x.tar.gz`
5656

5757
解压后,运行`bin`目录下的`dcm`
5858

0 commit comments

Comments
 (0)