Constructs a scredis.Redis instance from a config file and using the provided path.
Constructs a scredis.Redis instance from a config file and using the provided path.
config filename
path pointing to the scredis config object
the constructed scredis.Redis
The path must include to the scredis object, e.g. x.y.scredis
Constructs a scredis.Redis instance from a config file.
Constructs a scredis.Redis instance from a config file.
config filename
the constructed scredis.Redis
The config file must contain the scredis object at its root. This constructor is equivalent to
Redis(configName, "scredis")
Constructs a scredis.Redis instance from a com.typesafe.Config.
Constructs a scredis.Redis instance from a com.typesafe.Config.
com.typesafe.Config
the constructed scredis.Redis
The config must contain the scredis object at its root.
Constructs a scredis.Redis instance from a scredis.RedisConfig.
Constructs a scredis.Redis instance from a scredis.RedisConfig.
the constructed scredis.Redis
Constructs a scredis.Redis instance using the default config.
Constructs a scredis.Redis instance using the default config.
the constructed scredis.Redis
Constructs a scredis.Redis instance using provided parameters.
Constructs a scredis.Redis instance using provided parameters.
server address
server port
optional server password
database index to select
optional client name (available since 2.6.9)
connection timeout
optional batch receive timeout
max number of bytes to send as part of a batch
size hint of the tcp send buffer, in bytes
size hint of the tcp receive buffer, in bytes
name of the actor system
path to listener dispatcher definition
path to io dispatcher definition
path to decoder dispatcher definition
the constructed scredis.Redis
Constructs a scredis.Redis instance from a config file and using the provided path.
Constructs a scredis.Redis instance from a config file and using the provided path.
config filename
path pointing to the scredis config object
implicit ActorSystem
the constructed scredis.Redis
The provided ActorSystem
will not be shutdown after invoking quit
.
The path must include to the scredis object, e.g. x.y.scredis
Constructs a scredis.Redis instance from a config file.
Constructs a scredis.Redis instance from a config file.
config filename
implicit ActorSystem
the constructed scredis.Redis
The provided ActorSystem
will not be shutdown after invoking quit
.
The config file must contain the scredis object at its root. This constructor is equivalent to
Redis(configName, "scredis")
Constructs a scredis.Redis instance from a com.typesafe.Config.
Constructs a scredis.Redis instance from a com.typesafe.Config.
com.typesafe.Config
implicit ActorSystem
the constructed scredis.Redis
The provided ActorSystem
will not be shutdown after invoking quit
.
The config must contain the scredis object at its root.
Constructs a scredis.Redis instance from a scredis.RedisConfig.
Constructs a scredis.Redis instance from a scredis.RedisConfig.
implicit ActorSystem
the constructed scredis.Redis
The provided ActorSystem
will not be shutdown after invoking quit
.
Constructs a scredis.Redis instance using the default config.
Constructs a scredis.Redis instance using the default config.
implicit ActorSystem
the constructed scredis.Redis
The provided ActorSystem
will not be shutdown after invoking quit
.
Constructs a scredis.Redis instance using provided parameters.
Constructs a scredis.Redis instance using provided parameters.
server address
server port
optional server password
database index to select
optional client name (available since 2.6.9)
connection timeout
optional batch receive timeout
max number of bytes to send as part of a batch
size hint of the tcp send buffer, in bytes
size hint of the tcp receive buffer, in bytes
path to listener dispatcher definition
path to io dispatcher definition
path to decoder dispatcher definition
implicit ActorSystem
the constructed scredis.Redis
The provided ActorSystem
will not be shutdown after invoking quit
.
The companion object provides additional friendly constructors.