クラス RedisServer
java.lang.ObjectSE
org.springframework.data.redis.connection.RedisNode
org.springframework.data.redis.connection.RedisServer
- 実装されているすべてのインターフェース:
NamedNode
- 導入:
- 1.4
- 作成者:
- Christoph Strobl, Thomas Darimont, Franjo Zilic
ネストされたクラスの要約
ネストされたクラスクラス RedisNode から継承されたネストクラス / インターフェース
RedisNode.NodeType, RedisNode.RedisNodeBuilderフィールドのサマリー
クラス RedisNode から継承されたフィールド
DEFAULT_PORT, DEFAULT_SENTINEL_PORTコンストラクターの概要
コンストラクターコンストラクター説明RedisServer(StringSE host, int port) RedisServer(StringSE host, int port, @Nullable PropertiesSE properties) メソッドのサマリー
修飾子と型メソッド説明@Nullable StringSE@Nullable StringSEget(RedisServer.INFO info) @Nullable LongSE@Nullable LongSE@Nullable LongSE@Nullable StringSEgetFlags()@Nullable LongSE@Nullable LongSE@Nullable LongSE@Nullable LongSE@Nullable LongSE接続されているレプリカの数を取得します。@Nullable LongSE@Nullable LongSE@Nullable LongSE@Nullable StringSE@Nullable StringSEgetRunId()booleanisMaster()static RedisServernewServerFrom(PropertiesSE properties) 指定されたプロパティから新しいRedisServerを作成します。@Nullable LongSEvoidクラス RedisNode から継承されたメソッド
asString, equals, fromString, fromString, getHost, getId, getMasterId, getName, getPort, getPortOr, getRequiredHost, getRequiredPort, getType, hashCode, hasValidHost, isReplica, newRedisNode, setId, setName, toString
コンストラクターの詳細
RedisServer
- パラメーター:
host- null であってはなりませんport-
RedisServer
- パラメーター:
host- null であってはなりませんport-properties- null の可能性があります
メソッドの詳細
newServerFrom
指定されたプロパティから新しいRedisServerを作成します。- パラメーター:
properties-- 戻り値:
setQuorum
getRunId
getFlags
isMaster
getPendingCommands
getLastPingSent
getLastOkPingReply
getDownAfterMilliseconds
getInfoRefresh
getRoleReported
roleReportedTime
getConfigEpoch
getNumberReplicas
getNumberOtherSentinels
getQuorum
getFailoverTimeout
getParallelSyncs
get
- パラメーター:
info- null であってはなりません- 戻り値:
- リクエストされた
RedisServer.INFOのエントリが見つからない場合は null。
get