Skip to content

Commit

Permalink
fix javadoc error
Browse files Browse the repository at this point in the history
  • Loading branch information
heimuheimu committed Mar 8, 2019
1 parent 4c78dae commit 7f1ebd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public interface NaiveRedisStorageClient extends NaiveRedisKeysClient {
boolean setIfAbsent(String key, Object value) throws IllegalArgumentException, IllegalStateException, TimeoutException, RedisException;

/**
* 仅在 Key 不存在时,将 Value 存储至 Redis 中,永久保存,并返回 {@code true},如果 Key 已存在,不会替换原来的 Value,
* 仅在 Key 不存在时,将 Value 存储至 Redis 中,并指定过期时间,返回 {@code true},如果 Key 已存在,不会替换原来的 Value,
* 并返回 {@code false}。
*
* <p><strong>说明:</strong>Redis SETNX 不支持过期时间设置,如设置了过期时间,在保存成功后调用 {@link #expire(String, int)} 实现。</p>
Expand Down

0 comments on commit 7f1ebd6

Please sign in to comment.