object SentinelRedisCache
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SentinelRedisCache
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[V](jedisSentinelPool: JedisSentinelPool)(implicit config: CacheConfig, codec: Codec[V]): SentinelRedisCache[V]
Create a
SentinelRedisCache
that uses the given JedisSentinelPoolCreate a
SentinelRedisCache
that uses the given JedisSentinelPool- jedisSentinelPool
a JedisSentinelPool
- def apply[V](clusterName: String, sentinels: Set[String], poolConfig: GenericObjectPoolConfig, password: String)(implicit config: CacheConfig, codec: Codec[V]): SentinelRedisCache[V]
Create a
SentinelRedisCache
that uses aJedisSentinelPool
with a custom pool config.Create a
SentinelRedisCache
that uses aJedisSentinelPool
with a custom pool config.- clusterName
Name of the redis cluster
- sentinels
set of sentinels in format [host1:port, host2:port]
- poolConfig
config of the underlying pool
- password
password of the cluster
- def apply[V](clusterName: String, sentinels: Set[String], password: String)(implicit config: CacheConfig, codec: Codec[V]): SentinelRedisCache[V]
Create a
SentinelRedisCache
that uses aJedisSentinelPool
with a default pool config.Create a
SentinelRedisCache
that uses aJedisSentinelPool
with a default pool config.- clusterName
Name of the redis cluster
- sentinels
set of sentinels in format [host1:port, host2:port]
- password
password of the cluster
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()