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

Method sAdd

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

set添加元素 @param key @param values @return

(String key, String... values)

Source from the content-addressed store, hash-verified

758 * @return
759 */
760 public Long sAdd(String key, String... values) {
761 return redisTemplate.opsForSet().add(key, values);
762 }
763
764 /**
765 * set移除元素

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected