クラス RedisProperties
java.lang.ObjectSE
org.springframework.boot.autoconfigure.data.redis.RedisProperties
Redis の構成プロパティ。
- 導入:
- 1.0.0
- 作成者:
- Dave Syer, Christoph Strobl, Edd ú Mel é ndez, Marco Aust, Mark Paluch, Stephane Nicoll, Scott Frederick
ネストされたクラスの概要
ネストされたクラス修飾子と型クラス説明static enum使用する Redis クライアントの型。static classクラスターのプロパティ。static classJedis クライアントプロパティ。static classLettuce クライアントプロパティ。static classプールのプロパティ。static classRedis sentinel プロパティ。static classコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明intgetHost()getJedis()intgetPort()getSsl()getUrl()voidsetClientName(StringSE clientName) voidsetClientType(RedisProperties.ClientType clientType) voidsetCluster(RedisProperties.Cluster cluster) voidsetConnectTimeout(DurationSE connectTimeout) voidsetDatabase(int database) voidvoidsetPassword(StringSE password) voidsetPort(int port) voidsetSentinel(RedisProperties.Sentinel sentinel) voidsetTimeout(DurationSE timeout) voidvoidsetUsername(StringSE username)
コンストラクターの詳細
RedisProperties
public RedisProperties()
方法の詳細
getDatabase
public int getDatabase()setDatabase
public void setDatabase(int database) getUrl
setUrl
getHost
setHost
getUsername
setUsername
getPassword
setPassword
getPort
public int getPort()setPort
public void setPort(int port) getSsl
setTimeout
getTimeout
getConnectTimeout
setConnectTimeout
getClientName
setClientName
getClientType
setClientType
getSentinel
setSentinel
getCluster
setCluster
getJedis
getLettuce