Rachel
Toggle table of contents
3.5.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.cs.server-engine
/
love.yinlin.cs.service
/
Redis
/
Config
Config
@
Serializable
data
class
Config
(
val
host
:
String
=
"localhost"
,
val
port
:
Int
=
6379
,
val
password
:
String
=
""
,
val
timeoutMillis
:
Int
=
3000
,
val
maxTotal
:
Int
=
20
,
val
maxIdle
:
Int
=
20
,
val
minIdle
:
Int
=
5
)
Members
Constructors
Config
Link copied to clipboard
constructor
(
host
:
String
=
"localhost"
,
port
:
Int
=
6379
,
password
:
String
=
""
,
timeoutMillis
:
Int
=
3000
,
maxTotal
:
Int
=
20
,
maxIdle
:
Int
=
20
,
minIdle
:
Int
=
5
)
Properties
host
Link copied to clipboard
val
host
:
String
max
Idle
Link copied to clipboard
val
maxIdle
:
Int
max
Total
Link copied to clipboard
val
maxTotal
:
Int
min
Idle
Link copied to clipboard
val
minIdle
:
Int
password
Link copied to clipboard
val
password
:
String
port
Link copied to clipboard
val
port
:
Int
timeout
Millis
Link copied to clipboard
val
timeoutMillis
:
Int