Redis命令 | Redisson对象方法 |
---|---|
AUTH | Config.setPassword() |
BITCOUNT | RBitSet.cardinality() RBitSet.cardinalityAsync() RBitSetReactive.cardinality() |
BITOP | RBitSet.or() RBitSet.orAsync() RBitSetReactive.or() RBitSet.and() RBitSet.andAsync() RBitSetReactive.and() RBitSet.not() RBitSet.xor() RBitSet.xorAsync() RBitSetReactive.xor() |
BITPOS | RBitSet.length() RBitSet.lengthAsync() RBitSetReactive.length() |
BLPOP | RBlockingQueue.take() RBlockingQueue.takeAsync() RBlockingQueueReactive.take() RBlockingQueue.poll() RBlockingQueue.pollAsync() RBlockingQueueReactive.poll() RBlockingQueue.pollFromAny() RBlockingQueue.pollFromAnyAsync() RBlockingQueueReactive.pollFromAny() |
BRPOP | RBlockingDeque.takeLast() RBlockingDeque.takeLastAsync() RBlockingDequeReactive.takeLast() |
BRPOPLPUSH | RBlockingQueue.pollLastAndOfferFirstTo() RBlockingQueue.pollLastAndOfferFirstToAsync() RBlockingQueueReactive.pollLastAndOfferFirstTo() |
CLIENT SETNAME | Config.setClientName() |
CLUSTER INFO | ClusterNode.info() |
CLUSTER KEYSLOT | RKeys.getSlot() RKeys.getSlotAsync() RKeysReactive.getSlot() |
CLUSTER NODES | 在ClusterConnectionManager里使用 |
DBSIZE | RKeys.count() RKeys.countAsync() RKeysReactive.count() |
DECR | RAtomicLong.decrementAndGet() RAtomicLong.decrementAndGetAsync() RAtomicLongReactive.decrementAndGetAsync() |
DEL | RObject.delete() RObject.deleteAsync() RObjectReactive.delete() RKeys.delete() RKeys.deleteAsync() |
STRLEN | RBucket.size() RBucket.sizeAsync() RBucketReactive.size() |
EVAL | RScript.eval() RScript.evalAsync() RScriptReactive.eval() |
CLIENT REPLY | RBatch.executeSkipResult() |
EVALSHA | RScript.evalSha() RScript.evalShaAsync() RScriptReactive.evalSha() |
EXISTS | RObject.isExists() RObject.isExistsAsync() RObjectReactive.isExists() |
FLUSHALL | RKeys.flushall() RKeys.flushallAsync() RKeysReactive.flushall() |
FLUSHDB | RKeys.flushdb() RKeys.flushdbAsync() RKeysReactive.flushdb() |
GEOADD | RGeo.add() RGeo.addAsync() RGeoReactive.add() |
GEODIST | RGeo.dist() RGeo.distAsync() RGeoReactive.dist() |
GEOHASH | RGeo.hash() RGeo.hashAsync() RGeoReactive.hash() |
GEOPOS | RGeo.pos() RGeo.posAsync() RGeoReactive.pos() |
GEORADIUS | RGeo.radius() RGeo.radiusAsync() RGeoReactive.radius() RGeo.radiusWithDistance() RGeo.radiusWithDistanceAsync() RGeoReactive.radiusWithDistance() RGeo.radiusWithPosition() RGeo.radiusWithPositionAsync() RGeoReactive.radiusWithPosition() |
Redis命令和Redisson对象匹配列表
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...