クラス AbstractRedisConnection
java.lang.ObjectSE
org.springframework.data.redis.connection.AbstractRedisConnection
- 実装済みのインターフェース一覧:
AutoCloseableSE、DefaultedRedisConnection、RedisCommands、RedisCommandsProvider、RedisConnection、RedisConnectionCommands、RedisGeoCommands、RedisHashCommands、RedisHyperLogLogCommands、RedisKeyCommands、RedisListCommands、RedisPubSubCommands、RedisScriptingCommands、RedisServerCommands、RedisSetCommands、RedisStreamCommands、RedisStringCommands、RedisTxCommands、RedisZSetCommands
- 既知の直属サブクラス
JedisConnection,LettuceConnection
- 導入:
- 1.4
- 作成者:
- Christoph Strobl, Mark Paluch
ネストされたクラスの概要
インターフェース org.springframework.data.redis.connection.RedisGeoCommands から継承されたネストクラス / インターフェース
RedisGeoCommands.DistanceUnit, RedisGeoCommands.GeoCommandArgs, RedisGeoCommands.GeoLocation<T>, RedisGeoCommands.GeoRadiusCommandArgs, RedisGeoCommands.GeoSearchCommandArgs, RedisGeoCommands.GeoSearchStoreCommandArgsインターフェース org.springframework.data.redis.connection.RedisListCommands から継承されたネストクラス / インターフェース
RedisListCommands.Direction, RedisListCommands.Positionインターフェース org.springframework.data.redis.connection.RedisServerCommands から継承されたネストクラス / インターフェース
RedisServerCommands.FlushOption, RedisServerCommands.MigrateOption, RedisServerCommands.ShutdownOptionインターフェース org.springframework.data.redis.connection.RedisStreamCommands から継承されたネストクラス / インターフェース
RedisStreamCommands.XAddOptions, RedisStreamCommands.XClaimOptions, RedisStreamCommands.XPendingOptionsインターフェース org.springframework.data.redis.connection.RedisStringCommands から継承されたネストクラス / インターフェース
RedisStringCommands.BitOperation, RedisStringCommands.SetOptionインターフェース org.springframework.data.redis.connection.RedisZSetCommands から継承されたネストクラス / インターフェース
RedisZSetCommands.Limit, RedisZSetCommands.Range, RedisZSetCommands.ZAddArgsコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voidclose()接続を閉じるか終了します。protected RedisSentinelConnectiongetSentinelConnection(RedisNode sentinel) RedisSentinelCommandsを特定のノードに接続します。booleanprotected booleanping を送信して、ノードがアクティブかどうかを確認します。voidsetSentinelConfiguration(RedisSentinelConfiguration sentinelConfiguration) クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.data.redis.connection.DefaultedRedisConnection から継承されたメソッド
append, bgReWriteAof, bgSave, bitCount, bitCount, bitField, bitOp, bitPos, bLMove, bLPop, bRPop, bRPopLPush, bZPopMax, bZPopMin, copy, dbSize, decr, decrBy, del, dump, encodingOf, eval, evalSha, evalSha, exists, exists, expire, expireAt, flushAll, flushAll, flushDb, flushDb, geoAdd, geoAdd, geoAdd, geoDist, geoDist, geoHash, geoPos, geoRadius, geoRadius, geoRadiusByMember, geoRadiusByMember, geoRemove, geoSearch, geoSearchStore, get, getBit, getClientList, getClientName, getConfig, getDel, getEx, getRange, getSet, hDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hRandField, hRandField, hRandFieldWithValues, hRandFieldWithValues, hScan, hSet, hSetNX, hStrLen, hVals, idletime, incr, incrBy, incrBy, info, info, keys, killClient, lastSave, lIndex, lInsert, lLen, lMove, lPop, lPop, lPos, lPush, lPushX, lRange, lRem, lSet, lTrim, mGet, migrate, migrate, move, mSet, mSetNX, persist, pExpire, pExpireAt, pfAdd, pfCount, pfMerge, pSetEx, pTtl, pTtl, randomKey, refcount, rename, renameNX, replicaOf, replicaOfNoOne, resetConfigStats, restore, rewriteConfig, rPop, rPop, rPopLPush, rPush, rPushX, sAdd, save, scan, sCard, scriptExists, scriptFlush, scriptKill, scriptLoad, sDiff, sDiffStore, set, set, setBit, setClientName, setConfig, setEx, setNX, setRange, shutdown, shutdown, sInter, sInterStore, sIsMember, sMembers, sMIsMember, sMove, sort, sort, sPop, sPop, sRandMember, sRandMember, sRem, sScan, strLen, sUnion, sUnionStore, time, time, touch, ttl, ttl, type, unlink, xAck, xAdd, xClaim, xClaimJustId, xDel, xGroupCreate, xGroupCreate, xGroupDelConsumer, xGroupDestroy, xInfo, xInfoConsumers, xInfoGroups, xLen, xPending, xPending, xRange, xRange, xRead, xRead, xReadGroup, xReadGroup, xRevRange, xRevRange, xTrim, xTrim, zAdd, zAdd, zCard, zCount, zCount, zDiff, zDiffStore, zDiffWithScores, zIncrBy, zInter, zInterStore, zInterStore, zInterStore, zInterWithScores, zInterWithScores, zInterWithScores, zLexCount, zMScore, zPopMax, zPopMax, zPopMin, zPopMin, zRandMember, zRandMember, zRandMemberWithScore, zRandMemberWithScore, zRange, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeStoreByLex, zRangeStoreByScore, zRangeStoreRevByLex, zRangeStoreRevByScore, zRangeWithScores, zRank, zRem, zRemRange, zRemRangeByLex, zRemRangeByScore, zRemRangeByScore, zRevRange, zRevRangeByLex, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeWithScores, zRevRank, zScan, zScore, zUnion, zUnionStore, zUnionStore, zUnionStore, zUnionWithScores, zUnionWithScores, zUnionWithScoresインターフェース org.springframework.data.redis.connection.RedisCommands から継承されたメソッド
executeインターフェース org.springframework.data.redis.connection.RedisCommandsProvider から継承されたメソッド
commands, geoCommands, hashCommands, hyperLogLogCommands, keyCommands, listCommands, scriptingCommands, serverCommands, setCommands, streamCommands, stringCommands, zSetCommandsインターフェース org.springframework.data.redis.connection.RedisConnection から継承されたメソッド
closePipeline, getNativeConnection, isClosed, isPipelined, isQueueing, openPipelineインターフェース org.springframework.data.redis.connection.RedisConnectionCommands から継承されたメソッド
echo, ping, selectインターフェース org.springframework.data.redis.connection.RedisGeoCommands から継承されたメソッド
geoAdd, geoRadiusByMemberインターフェース org.springframework.data.redis.connection.RedisKeyCommands から継承されたメソッド
restore, scanインターフェース org.springframework.data.redis.connection.RedisListCommands から継承されたメソッド
lPosインターフェース org.springframework.data.redis.connection.RedisPubSubCommands から継承されたメソッド
getSubscription, isSubscribed, pSubscribe, publish, subscribeインターフェース org.springframework.data.redis.connection.RedisStreamCommands から継承されたメソッド
xAck, xAdd, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPendingインターフェース org.springframework.data.redis.connection.RedisStringCommands から継承されたメソッド
bitPosインターフェース org.springframework.data.redis.connection.RedisTxCommands から継承されたメソッド
discard, exec, multi, unwatch, watchインターフェース org.springframework.data.redis.connection.RedisZSetCommands から継承されたメソッド
zAdd, zAdd, zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeStoreByLex, zRangeStoreByScore, zRangeStoreRevByLex, zRangeStoreRevByScore, zRevRangeByLex, zRevRangeByLex, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores
コンストラクターの詳細
AbstractRedisConnection
public AbstractRedisConnection()
方法の詳細
getSentinelConnection
- 次で指定:
- インターフェース
RedisConnection内のgetSentinelConnection - 戻り値:
- Redis Sentinel 使用時は
RedisSentinelConnection。
setSentinelConfiguration
hasRedisSentinelConfigured
public boolean hasRedisSentinelConfigured()isActive
ping を送信して、ノードがアクティブかどうかを確認します。- パラメーター:
node-- 戻り値:
getSentinelConnection
RedisSentinelCommandsを特定のノードに接続します。- パラメーター:
sentinel-- 戻り値:
close
インターフェースからコピーされた説明:RedisConnection接続を閉じるか終了します。- 次で指定:
- インターフェース
AutoCloseableSE内のclose - 次で指定:
- インターフェース
RedisConnection内のclose - 例外:
DataAccessException-RedisConnectionを閉じることができなかった場合。