MCPcopy Create free account
hub / github.com/PlexPt/rocket-pt / setRange

Method setRange

src/main/java/com/rocketpt/server/util/RedisUtil.java:303–305  ·  view source on GitHub ↗

用 value 参数覆写给定 key 所储存的字符串值,从偏移量 offset 开始 @param key @param value @param offset 从指定位置开始覆写

(String key, String value, long offset)

Source from the content-addressed store, hash-verified

301 * @param offset 从指定位置开始覆写
302 */
303 public void setRange(String key, String value, long offset) {
304 redisTemplate.opsForValue().set(key, value, offset);
305 }
306
307 /**
308 * 获取字符串的长度

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected