Class R2dbcProperties
java.lang.Object
org.springframework.boot.r2dbc.autoconfigure.R2dbcProperties
Configuration properties for R2DBC.
- Since:
- 4.0.0
- Author:
- Mark Paluch, Andreas Killaitis, Stephane Nicoll, Rodolpho S. Couto
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvide a unique name specific to this instance.@Nullable String
getName()
@Nullable String
getPool()
@Nullable String
getUrl()
@Nullable String
boolean
void
setGenerateUniqueName
(boolean generateUniqueName) void
void
setPassword
(@Nullable String password) void
void
setUsername
(@Nullable String username)
-
Constructor Details
-
R2dbcProperties
public R2dbcProperties()
-
-
Method Details
-
getName
-
setName
-
isGenerateUniqueName
public boolean isGenerateUniqueName() -
setGenerateUniqueName
public void setGenerateUniqueName(boolean generateUniqueName) -
getUrl
-
setUrl
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getProperties
-
getPool
-
determineUniqueName
Provide a unique name specific to this instance. Calling this method several times return the same unique name.- Returns:
- a unique name for this instance
-