class RedisOptions extends AnyRef
Redis Client Configuration options.
- Alphabetic
- By Inheritance
- RedisOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RedisOptions(_asJava: redis.client.RedisOptions)
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
addEndpoint(value: SocketAddress): RedisOptions
Set the endpoints to use while connecting to the redis server.
Set the endpoints to use while connecting to the redis server. Only the cluster mode will consider more than 1 element. If more are provided, they are not considered by the client when in single server mode.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: redis.client.RedisOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getEndpoint: SocketAddress
- def getEndpoints: Buffer[SocketAddress]
- def getMasterName: String
- def getMaxNestedArrays: Int
- def getMaxWaitingHandlers: Int
- def getNetClientOptions: NetClientOptions
- def getPassword: String
- def getRole: RedisRole
- def getSelect: Int
- def getType: RedisClientType
- def getUseSlave: RedisSlaves
-
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()
-
def
setEndpoint(value: SocketAddress): RedisOptions
Sets a single endpoint to use while connecting to the redis server.
Sets a single endpoint to use while connecting to the redis server. Will replace the previously configured endpoints.
- def setEndpoints(value: Buffer[SocketAddress]): RedisOptions
-
def
setMasterName(value: String): RedisOptions
Set the master name (only considered in HA mode).
-
def
setMaxNestedArrays(value: Int): RedisOptions
Tune how much nested arrays are allowed on a redis response.
Tune how much nested arrays are allowed on a redis response. This affects the parser performance.
-
def
setMaxWaitingHandlers(value: Int): RedisOptions
The client will always work on pipeline mode, this means that messages can start queueing.
The client will always work on pipeline mode, this means that messages can start queueing. You can control how much backlog you're willing to accept. This methods sets how much handlers is the client willing to queue.
-
def
setNetClientOptions(value: NetClientOptions): RedisOptions
Set the net client options to be used while connecting to the redis server.
Set the net client options to be used while connecting to the redis server. Use this to tune your connection.
-
def
setPassword(value: String): RedisOptions
Set the provided password to be used when establishing a connection to the server.
-
def
setRole(value: RedisRole): RedisOptions
Set the role name (only considered in HA mode).
-
def
setSelect(value: Int): RedisOptions
Set the provided database to be selected when establishing a connection to the server.
-
def
setType(value: RedisClientType): RedisOptions
Set the desired client type to be created.
-
def
setUseSlave(value: RedisSlaves): RedisOptions
Set whether or not to use slave nodes (only considered in Cluster mode).
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )