RedisHost

play.api.cache.redis.configuration.RedisHost
See theRedisHost companion trait
object RedisHost extends ConfigLoader[RedisHost]

Attributes

Companion
trait
Graph
Supertypes
trait ConfigLoader[RedisHost]
class Object
trait Matchable
class Any
Self type
RedisHost.type

Members list

Value members

Concrete methods

def apply(host: String, port: Int, database: Option[Int], username: Option[String], password: Option[String]): RedisHost
def fromConnectionString(connectionString: String): RedisHost

read environment url or throw an exception

read environment url or throw an exception

Attributes

def load(config: Config, path: String): RedisHost
def unapply(host: RedisHost): Some[(String, Int, Option[Int], Option[String], Option[String])]

Inherited methods

def map[B](f: RedisHost => B): ConfigLoader[B]

Attributes

Inherited from:
ConfigLoader