public abstract class MultiNodePipelineBase extends PipelineBase implements PipelineCommands, PipelineBinaryCommands, RedisModulePipelineCommands, java.io.Closeable
Modifier and Type | Field and Description |
---|---|
static int |
MULTI_NODE_PIPELINE_SYNC_WORKERS
The number of processes for
sync() . |
commandObjects
Constructor and Description |
---|
MultiNodePipelineBase(CommandObjects commandObjects) |
Modifier and Type | Method and Description |
---|---|
protected <T> Response<T> |
appendCommand(CommandObject<T> commandObject) |
void |
close() |
protected abstract Connection |
getConnection(HostAndPort nodeKey) |
protected abstract HostAndPort |
getNodeKey(CommandArguments args) |
protected void |
prepareGraphCommands(ConnectionProvider connectionProvider)
Sub-classes must call this method, if graph commands are going to be used.
|
void |
sync()
Synchronize pipeline by reading all responses.
|
Response<java.lang.Long> |
waitReplicas(int replicas,
long timeout)
Deprecated.
|
append, append, bfAdd, bfCard, bfExists, bfInfo, bfInsert, bfInsert, bfLoadChunk, bfMAdd, bfMExists, bfReserve, bfReserve, bfScanDump, bitcount, bitcount, bitcount, bitcount, bitcount, bitcount, bitfield, bitfield, bitfieldReadonly, bitfieldReadonly, bitop, bitop, bitpos, bitpos, bitpos, bitpos, blmove, blmove, blmpop, blmpop, blmpop, blmpop, blpop, blpop, blpop, blpop, blpop, blpop, brpop, brpop, brpop, brpop, brpop, brpop, brpoplpush, brpoplpush, bzmpop, bzmpop, bzmpop, bzmpop, bzpopmax, bzpopmax, bzpopmin, bzpopmin, cfAdd, cfAddNx, cfCount, cfDel, cfExists, cfInfo, cfInsert, cfInsert, cfInsertNx, cfInsertNx, cfLoadChunk, cfReserve, cfReserve, cfScanDump, cmsIncrBy, cmsInfo, cmsInitByDim, cmsInitByProb, cmsMerge, cmsMerge, cmsQuery, copy, copy, decr, decr, decrBy, decrBy, del, del, del, del, dump, dump, eval, eval, eval, eval, eval, eval, eval, eval, evalReadonly, evalReadonly, evalsha, evalsha, evalsha, evalsha, evalsha, evalsha, evalsha, evalsha, evalshaReadonly, evalshaReadonly, executeCommand, exists, exists, exists, exists, expire, expire, expire, expire, expireAt, expireAt, expireAt, expireAt, expireTime, expireTime, fcall, fcall, fcallReadonly, fcallReadonly, ftAggregate, ftAlter, ftAlter, ftConfigGet, ftConfigGet, ftConfigSet, ftConfigSet, ftCreate, ftCreate, ftDictAdd, ftDictAddBySampleKey, ftDictDel, ftDictDelBySampleKey, ftDictDump, ftDictDumpBySampleKey, ftExplain, ftExplainCLI, ftInfo, ftSearch, ftSearch, ftSearch, ftSearch, ftSpellCheck, ftSpellCheck, ftSugAdd, ftSugAddIncr, ftSugDel, ftSugGet, ftSugGet, ftSugGetWithScores, ftSugGetWithScores, ftSugLen, ftSynDump, ftSynUpdate, ftTagVals, functionDelete, functionDelete, functionDump, functionFlush, functionFlush, functionKill, functionList, functionList, functionList, functionListBinary, functionListWithCode, functionListWithCode, functionListWithCode, functionListWithCodeBinary, functionLoad, functionLoad, functionLoadReplace, functionLoadReplace, functionRestore, functionRestore, functionStats, functionStatsBinary, geoadd, geoadd, geoadd, geoadd, geoadd, geoadd, geodist, geodist, geodist, geodist, geohash, geohash, geopos, geopos, georadius, georadius, georadius, georadius, georadiusByMember, georadiusByMember, georadiusByMember, georadiusByMember, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberStore, georadiusByMemberStore, georadiusReadonly, georadiusReadonly, georadiusReadonly, georadiusReadonly, georadiusStore, georadiusStore, geosearch, geosearch, geosearch, geosearch, geosearch, geosearch, geosearch, geosearch, geosearch, geosearch, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStoreStoreDist, geosearchStoreStoreDist, get, get, getbit, getbit, getDel, getDel, getEx, getEx, getrange, getrange, getSet, getSet, graphDelete, graphProfile, graphQuery, graphQuery, graphQuery, graphQuery, graphReadonlyQuery, graphReadonlyQuery, graphReadonlyQuery, graphReadonlyQuery, hdel, hdel, hexists, hexists, hget, hget, hgetAll, hgetAll, hincrBy, hincrBy, hincrByFloat, hincrByFloat, hkeys, hkeys, hlen, hlen, hmget, hmget, hmset, hmset, hrandfield, hrandfield, hrandfield, hrandfield, hrandfieldWithValues, hrandfieldWithValues, hscan, hscan, hset, hset, hset, hset, hsetnx, hsetnx, hstrlen, hstrlen, hvals, hvals, incr, incr, incrBy, incrBy, incrByFloat, incrByFloat, jsonArrAppend, jsonArrAppend, jsonArrAppendWithEscape, jsonArrIndex, jsonArrIndex, jsonArrIndexWithEscape, jsonArrInsert, jsonArrInsert, jsonArrInsertWithEscape, jsonArrLen, jsonArrLen, jsonArrLen, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrTrim, jsonArrTrim, jsonClear, jsonClear, jsonClear, jsonDel, jsonDel, jsonDel, jsonGet, jsonGet, jsonGet, jsonGet, jsonGet, jsonMerge, jsonMerge, jsonMGet, jsonMGet, jsonNumIncrBy, jsonNumIncrBy, jsonSet, jsonSet, jsonSet, jsonSet, jsonSetWithEscape, jsonSetWithEscape, jsonStrAppend, jsonStrAppend, jsonStrAppend, jsonStrLen, jsonStrLen, jsonStrLen, jsonToggle, jsonToggle, jsonType, jsonType, jsonType, keys, keys, lcs, lcs, lindex, lindex, linsert, linsert, llen, llen, lmove, lmove, lmpop, lmpop, lmpop, lmpop, lpop, lpop, lpop, lpop, lpos, lpos, lpos, lpos, lpos, lpos, lpush, lpush, lpushx, lpushx, lrange, lrange, lrem, lrem, lset, lset, ltrim, ltrim, memoryUsage, memoryUsage, memoryUsage, memoryUsage, mget, mget, migrate, migrate, migrate, migrate, mset, mset, msetnx, msetnx, objectEncoding, objectEncoding, objectFreq, objectFreq, objectIdletime, objectIdletime, objectRefcount, objectRefcount, persist, persist, pexpire, pexpire, pexpire, pexpire, pexpireAt, pexpireAt, pexpireAt, pexpireAt, pexpireTime, pexpireTime, pfadd, pfadd, pfcount, pfcount, pfcount, pfcount, pfmerge, pfmerge, psetex, psetex, pttl, pttl, publish, publish, randomBinaryKey, randomKey, rename, rename, renamenx, renamenx, restore, restore, restore, restore, rpop, rpop, rpop, rpop, rpoplpush, rpoplpush, rpush, rpush, rpushx, rpushx, sadd, sadd, scan, scan, scan, scan, scan, scan, scard, scard, scriptExists, scriptExists, scriptFlush, scriptFlush, scriptFlush, scriptFlush, scriptKill, scriptKill, scriptLoad, scriptLoad, sdiff, sdiff, sdiffstore, sdiffStore, sendCommand, sendCommand, sendCommand, set, set, set, set, setbit, setbit, setex, setex, setGet, setGet, setGraphCommands, setJsonObjectMapper, setnx, setnx, setrange, setrange, sinter, sinter, sintercard, sintercard, sintercard, sintercard, sinterstore, sinterstore, sismember, sismember, smembers, smembers, smismember, smismember, smove, smove, sort, sort, sort, sort, sort, sort, sort, sort, sortReadonly, sortReadonly, spop, spop, spop, spop, srandmember, srandmember, srandmember, srandmember, srem, srem, sscan, sscan, strlen, strlen, substr, substr, sunion, sunion, sunionstore, sunionstore, tdigestAdd, tdigestByRank, tdigestByRevRank, tdigestCDF, tdigestCreate, tdigestCreate, tdigestInfo, tdigestMax, tdigestMerge, tdigestMerge, tdigestMin, tdigestQuantile, tdigestRank, tdigestReset, tdigestRevRank, tdigestTrimmedMean, topkAdd, topkIncrBy, topkInfo, topkList, topkQuery, topkReserve, topkReserve, touch, touch, touch, touch, tsAdd, tsAdd, tsAdd, tsAlter, tsCreate, tsCreate, tsCreateRule, tsCreateRule, tsDecrBy, tsDecrBy, tsDel, tsDeleteRule, tsGet, tsGet, tsIncrBy, tsIncrBy, tsMAdd, tsMGet, tsMRange, tsMRange, tsMRevRange, tsMRevRange, tsQueryIndex, tsRange, tsRange, tsRevRange, tsRevRange, ttl, ttl, type, type, unlink, unlink, unlink, unlink, waitAOF, waitAOF, waitReplicas, waitReplicas, xack, xack, xadd, xadd, xadd, xautoclaim, xautoclaim, xautoclaimJustId, xautoclaimJustId, xclaim, xclaim, xclaimJustId, xclaimJustId, xdel, xdel, xgroupCreate, xgroupCreate, xgroupCreateConsumer, xgroupCreateConsumer, xgroupDelConsumer, xgroupDelConsumer, xgroupDestroy, xgroupDestroy, xgroupSetID, xgroupSetID, xinfoConsumers, xinfoConsumers, xinfoConsumers2, xinfoGroups, xinfoGroups, xinfoStream, xinfoStream, xinfoStreamFull, xinfoStreamFull, xinfoStreamFull, xinfoStreamFull, xlen, xlen, xpending, xpending, xpending, xpending, xrange, xrange, xrange, xrange, xrange, xrange, xread, xread, xreadGroup, xreadGroup, xrevrange, xrevrange, xrevrange, xrevrange, xrevrange, xrevrange, xtrim, xtrim, xtrim, xtrim, zadd, zadd, zadd, zadd, zadd, zadd, zadd, zadd, zaddIncr, zaddIncr, zcard, zcard, zcount, zcount, zcount, zcount, zdiff, zdiff, zdiffstore, zdiffStore, zdiffstore, zdiffStore, zdiffWithScores, zdiffWithScores, zincrby, zincrby, zincrby, zincrby, zinter, zinter, zintercard, zintercard, zintercard, zintercard, zinterstore, zinterstore, zinterstore, zinterstore, zinterWithScores, zinterWithScores, zlexcount, zlexcount, zmpop, zmpop, zmpop, zmpop, zmscore, zmscore, zpopmax, zpopmax, zpopmax, zpopmax, zpopmin, zpopmin, zpopmin, zpopmin, zrandmember, zrandmember, zrandmember, zrandmember, zrandmemberWithScores, zrandmemberWithScores, zrange, zrange, zrange, zrange, zrangeByLex, zrangeByLex, zrangeByLex, zrangeByLex, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangestore, zrangestore, zrangeWithScores, zrangeWithScores, zrangeWithScores, zrangeWithScores, zrank, zrank, zrankWithScore, zrankWithScore, zrem, zrem, zremrangeByLex, zremrangeByLex, zremrangeByRank, zremrangeByRank, zremrangeByScore, zremrangeByScore, zremrangeByScore, zremrangeByScore, zrevrange, zrevrange, zrevrangeByLex, zrevrangeByLex, zrevrangeByLex, zrevrangeByLex, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrangeWithScores, zrevrank, zrevrank, zrevrankWithScore, zrevrankWithScore, zscan, zscan, zscore, zscore, zunion, zunion, zunionstore, zunionstore, zunionstore, zunionstore, zunionWithScores, zunionWithScores
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, del, del, dump, exists, exists, expire, expire, expireAt, expireAt, expireTime, keys, memoryUsage, memoryUsage, migrate, migrate, objectEncoding, objectFreq, objectIdletime, objectRefcount, persist, pexpire, pexpire, pexpireAt, pexpireAt, pexpireTime, pttl, randomKey, rename, renamenx, restore, restore, scan, scan, scan, sort, sort, sort, sort, sortReadonly, touch, touch, ttl, type, unlink, unlink
append, decr, decrBy, get, getDel, getEx, getrange, getSet, incr, incrBy, incrByFloat, lcs, mget, mset, msetnx, psetex, set, set, setex, setGet, setnx, setrange, strlen, substr
bitcount, bitcount, bitcount, bitfield, bitfieldReadonly, bitop, bitpos, bitpos, getbit, setbit
blmove, blmpop, blmpop, blpop, blpop, blpop, blpop, brpop, brpop, brpop, brpop, brpoplpush, lindex, linsert, llen, lmove, lmpop, lmpop, lpop, lpop, lpos, lpos, lpos, lpush, lpushx, lrange, lrem, lset, ltrim, rpop, rpop, rpoplpush, rpush, rpushx
hdel, hexists, hget, hgetAll, hincrBy, hincrByFloat, hkeys, hlen, hmget, hmset, hrandfield, hrandfield, hrandfieldWithValues, hscan, hscan, hset, hset, hsetnx, hstrlen, hvals
sadd, scard, sdiff, sdiffStore, sinter, sintercard, sintercard, sinterstore, sismember, smembers, smismember, smove, spop, spop, srandmember, srandmember, srem, sscan, sscan, sunion, sunionstore
bzmpop, bzmpop, bzpopmax, bzpopmin, zadd, zadd, zadd, zadd, zaddIncr, zcard, zcount, zcount, zdiff, zdiffstore, zdiffStore, zdiffWithScores, zincrby, zincrby, zinter, zintercard, zintercard, zinterstore, zinterstore, zinterWithScores, zlexcount, zmpop, zmpop, zmscore, zpopmax, zpopmax, zpopmin, zpopmin, zrandmember, zrandmember, zrandmemberWithScores, zrange, zrange, zrangeByLex, zrangeByLex, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangestore, zrangeWithScores, zrangeWithScores, zrank, zrankWithScore, zrem, zremrangeByLex, zremrangeByRank, zremrangeByScore, zremrangeByScore, zrevrange, zrevrangeByLex, zrevrangeByLex, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrank, zrevrankWithScore, zscan, zscan, zscore, zunion, zunionstore, zunionstore, zunionWithScores
geoadd, geoadd, geoadd, geodist, geodist, geohash, geopos, georadius, georadius, georadiusByMember, georadiusByMember, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberStore, georadiusReadonly, georadiusReadonly, georadiusStore, geosearch, geosearch, geosearch, geosearch, geosearch, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStoreStoreDist
pfadd, pfcount, pfcount, pfmerge
xack, xadd, xadd, xadd, xautoclaim, xautoclaimJustId, xclaim, xclaimJustId, xdel, xgroupCreate, xgroupCreateConsumer, xgroupDelConsumer, xgroupDestroy, xgroupSetID, xinfoConsumers, xinfoConsumers2, xinfoGroups, xinfoStream, xinfoStreamFull, xinfoStreamFull, xlen, xpending, xpending, xrange, xrange, xrange, xrange, xread, xreadGroup, xrevrange, xrevrange, xrevrange, xrevrange, xtrim, xtrim
eval, eval, eval, evalReadonly, evalsha, evalsha, evalsha, evalshaReadonly
eval, evalsha, scriptExists, scriptFlush, scriptFlush, scriptKill, scriptLoad, waitAOF, waitReplicas
fcall, fcallReadonly, functionDelete, functionDump, functionFlush, functionFlush, functionKill, functionList, functionList, functionListWithCode, functionListWithCode, functionLoad, functionLoadReplace, functionRestore, functionRestore, functionStats
copy, del, del, dump, exists, exists, expire, expire, expireAt, expireAt, expireTime, keys, memoryUsage, memoryUsage, migrate, migrate, objectEncoding, objectFreq, objectIdletime, objectRefcount, persist, pexpire, pexpire, pexpireAt, pexpireAt, pexpireTime, pttl, randomBinaryKey, rename, renamenx, restore, restore, scan, scan, scan, sort, sort, sort, sort, sortReadonly, touch, touch, ttl, type, unlink, unlink
append, decr, decrBy, get, getDel, getEx, getrange, getSet, incr, incrBy, incrByFloat, lcs, mget, mset, msetnx, psetex, set, set, setex, setGet, setnx, setrange, strlen, substr
bitcount, bitcount, bitcount, bitfield, bitfieldReadonly, bitop, bitpos, bitpos, getbit, setbit
blmove, blmpop, blmpop, blpop, blpop, brpop, brpop, brpoplpush, lindex, linsert, llen, lmove, lmpop, lmpop, lpop, lpop, lpos, lpos, lpos, lpush, lpushx, lrange, lrem, lset, ltrim, rpop, rpop, rpoplpush, rpush, rpushx
hdel, hexists, hget, hgetAll, hincrBy, hincrByFloat, hkeys, hlen, hmget, hmset, hrandfield, hrandfield, hrandfieldWithValues, hscan, hscan, hset, hset, hsetnx, hstrlen, hvals
sadd, scard, sdiff, sdiffstore, sinter, sintercard, sintercard, sinterstore, sismember, smembers, smismember, smove, spop, spop, srandmember, srandmember, srem, sscan, sscan, sunion, sunionstore
bzmpop, bzmpop, bzpopmax, bzpopmin, zadd, zadd, zadd, zadd, zaddIncr, zcard, zcount, zcount, zdiff, zdiffstore, zdiffStore, zdiffWithScores, zincrby, zincrby, zinter, zintercard, zintercard, zinterstore, zinterstore, zinterWithScores, zlexcount, zmpop, zmpop, zmscore, zpopmax, zpopmax, zpopmin, zpopmin, zrandmember, zrandmember, zrandmemberWithScores, zrange, zrange, zrangeByLex, zrangeByLex, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangestore, zrangeWithScores, zrangeWithScores, zrank, zrankWithScore, zrem, zremrangeByLex, zremrangeByRank, zremrangeByScore, zremrangeByScore, zrevrange, zrevrangeByLex, zrevrangeByLex, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrank, zrevrankWithScore, zscan, zscan, zscore, zunion, zunionstore, zunionstore, zunionWithScores
geoadd, geoadd, geoadd, geodist, geodist, geohash, geopos, georadius, georadius, georadiusByMember, georadiusByMember, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberStore, georadiusReadonly, georadiusReadonly, georadiusStore, geosearch, geosearch, geosearch, geosearch, geosearch, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStore, geosearchStoreStoreDist
pfadd, pfcount, pfcount, pfmerge
xack, xadd, xadd, xautoclaim, xautoclaimJustId, xclaim, xclaimJustId, xdel, xgroupCreate, xgroupCreateConsumer, xgroupDelConsumer, xgroupDestroy, xgroupSetID, xinfoConsumers, xinfoGroups, xinfoStream, xinfoStreamFull, xinfoStreamFull, xlen, xpending, xpending, xrange, xrange, xread, xreadGroup, xrevrange, xrevrange, xtrim, xtrim
eval, eval, eval, evalReadonly, evalsha, evalsha, evalsha, evalshaReadonly
eval, evalsha, scriptExists, scriptFlush, scriptFlush, scriptKill, scriptLoad, waitAOF, waitReplicas
fcall, fcallReadonly, functionDelete, functionDump, functionFlush, functionFlush, functionKill, functionList, functionListBinary, functionListWithCode, functionListWithCodeBinary, functionLoad, functionLoadReplace, functionRestore, functionRestore, functionStatsBinary
ftAggregate, ftAlter, ftAlter, ftAlter, ftAlter, ftConfigGet, ftConfigGet, ftConfigSet, ftConfigSet, ftCreate, ftCreate, ftCreate, ftCreate, ftCreate, ftDictAdd, ftDictAddBySampleKey, ftDictDel, ftDictDelBySampleKey, ftDictDump, ftDictDumpBySampleKey, ftExplain, ftExplainCLI, ftInfo, ftSearch, ftSearch, ftSearch, ftSearch, ftSearch, ftSpellCheck, ftSpellCheck, ftSugAdd, ftSugAddIncr, ftSugDel, ftSugGet, ftSugGet, ftSugGetWithScores, ftSugGetWithScores, ftSugLen, ftSynDump, ftSynUpdate, ftTagVals
jsonArrAppend, jsonArrIndex, jsonArrInsert, jsonArrLen, jsonArrLen, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrPop, jsonArrTrim, jsonClear, jsonClear, jsonDel, jsonDel, jsonGet, jsonGet, jsonGet, jsonGet, jsonMerge, jsonMGet, jsonMGet, jsonNumIncrBy, jsonSet, jsonSet, jsonSetLegacy, jsonSetLegacy, jsonStrAppend, jsonStrAppend, jsonStrLen, jsonStrLen, jsonToggle, jsonType, jsonType
jsonArrAppend, jsonArrAppendWithEscape, jsonArrIndex, jsonArrIndexWithEscape, jsonArrInsert, jsonArrInsertWithEscape, jsonArrLen, jsonArrPop, jsonArrPop, jsonArrTrim, jsonClear, jsonDel, jsonGet, jsonMerge, jsonMGet, jsonMGet, jsonNumIncrBy, jsonSet, jsonSet, jsonSet, jsonSet, jsonSetWithEscape, jsonSetWithEscape, jsonSetWithEscape, jsonSetWithEscape, jsonStrAppend, jsonStrLen, jsonToggle, jsonType
tsAdd, tsAdd, tsAdd, tsAlter, tsCreate, tsCreate, tsCreateRule, tsCreateRule, tsDecrBy, tsDecrBy, tsDel, tsDeleteRule, tsGet, tsGet, tsIncrBy, tsIncrBy, tsMAdd, tsMGet, tsMRange, tsMRange, tsMRevRange, tsMRevRange, tsQueryIndex, tsRange, tsRange, tsRevRange, tsRevRange
bfAdd, bfCard, bfExists, bfInfo, bfInsert, bfInsert, bfLoadChunk, bfMAdd, bfMExists, bfReserve, bfReserve, bfScanDump
cfAdd, cfAddNx, cfCount, cfDel, cfExists, cfInfo, cfInsert, cfInsert, cfInsertNx, cfInsertNx, cfLoadChunk, cfReserve, cfReserve, cfScanDump
cmsIncrBy, cmsInfo, cmsInitByDim, cmsInitByProb, cmsMerge, cmsMerge, cmsQuery
topkAdd, topkIncrBy, topkInfo, topkList, topkQuery, topkReserve, topkReserve
tdigestAdd, tdigestByRank, tdigestByRevRank, tdigestCDF, tdigestCreate, tdigestCreate, tdigestInfo, tdigestMax, tdigestMerge, tdigestMerge, tdigestMin, tdigestQuantile, tdigestRank, tdigestReset, tdigestRevRank, tdigestTrimmedMean
graphDelete, graphProfile, graphQuery, graphQuery, graphQuery, graphQuery, graphReadonlyQuery, graphReadonlyQuery, graphReadonlyQuery, graphReadonlyQuery
public static volatile int MULTI_NODE_PIPELINE_SYNC_WORKERS
sync()
. If you have enough cores for client (and you have
more than 3 cluster nodes), you may increase this number of workers.
Suggestion: ≤ cluster nodes.public MultiNodePipelineBase(CommandObjects commandObjects)
protected final void prepareGraphCommands(ConnectionProvider connectionProvider)
connectionProvider
- connection providerprotected abstract HostAndPort getNodeKey(CommandArguments args)
protected abstract Connection getConnection(HostAndPort nodeKey)
protected final <T> Response<T> appendCommand(CommandObject<T> commandObject)
appendCommand
in class PipelineBase
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class PipelineBase
public final void sync()
PipelineBase
sync
in class PipelineBase
@Deprecated public Response<java.lang.Long> waitReplicas(int replicas, long timeout)
Copyright © 2023. All rights reserved.