| 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() |










网友评论