2727
2828/**
2929 * Marker interface for configuration classes related to Redis connection setup. As the setup scenarios are quite
30- * diverse instead of struggling with unifying those, {@link RedisConfiguration} provides means to identify
30+ * diverse instead of struggling with unifying those, {@code RedisConfiguration} provides means to identify
3131 * configurations for the individual purposes.
3232 *
3333 * @author Christoph Strobl
3838public interface RedisConfiguration {
3939
4040 /**
41- * Get the configured database index if the current {@link RedisConfiguration} is
41+ * Get the configured database index if the current {@code RedisConfiguration} is
4242 * {@link #isDatabaseIndexAware(RedisConfiguration) database aware} or evaluate and return the value of the given
4343 * {@link Supplier}.
4444 *
45- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
45+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
4646 * {@link #isDatabaseIndexAware(RedisConfiguration) database aware}.
4747 * @return never {@literal null}.
4848 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -52,11 +52,11 @@ default Integer getDatabaseOrElse(Supplier<Integer> other) {
5252 }
5353
5454 /**
55- * Get the configured {@link RedisPassword} if the current {@link RedisConfiguration} is
55+ * Get the configured {@link RedisPassword} if the current {@code RedisConfiguration} is
5656 * {@link #isAuthenticationAware(RedisConfiguration) password aware} or evaluate and return the value of the given
5757 * {@link Supplier}.
5858 *
59- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
59+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
6060 * {@link #isAuthenticationAware(RedisConfiguration) password aware}.
6161 * @return never {@literal null}.
6262 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -67,7 +67,7 @@ default RedisPassword getPasswordOrElse(Supplier<RedisPassword> other) {
6767
6868 /**
6969 * @param configuration can be {@literal null}.
70- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link WithPassword}.
70+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link WithPassword}.
7171 */
7272 @ Contract ("null -> false" )
7373 static boolean isAuthenticationAware (@ Nullable RedisConfiguration configuration ) {
@@ -76,7 +76,7 @@ static boolean isAuthenticationAware(@Nullable RedisConfiguration configuration)
7676
7777 /**
7878 * @param configuration can be {@literal null}.
79- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link WithDatabaseIndex}.
79+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link WithDatabaseIndex}.
8080 */
8181 @ Contract ("null -> false" )
8282 static boolean isDatabaseIndexAware (@ Nullable RedisConfiguration configuration ) {
@@ -85,7 +85,7 @@ static boolean isDatabaseIndexAware(@Nullable RedisConfiguration configuration)
8585
8686 /**
8787 * @param configuration can be {@literal null}.
88- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link SentinelConfiguration}.
88+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link SentinelConfiguration}.
8989 */
9090 @ Contract ("null -> false" )
9191 static boolean isSentinelConfiguration (@ Nullable RedisConfiguration configuration ) {
@@ -94,7 +94,7 @@ static boolean isSentinelConfiguration(@Nullable RedisConfiguration configuratio
9494
9595 /**
9696 * @param configuration can be {@literal null}.
97- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link WithHostAndPort}.
97+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link WithHostAndPort}.
9898 * @since 2.1.6
9999 */
100100 @ Contract ("null -> false" )
@@ -104,7 +104,7 @@ static boolean isHostAndPortAware(@Nullable RedisConfiguration configuration) {
104104
105105 /**
106106 * @param configuration can be {@literal null}.
107- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link ClusterConfiguration}.
107+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link ClusterConfiguration}.
108108 */
109109 @ Contract ("null -> false" )
110110 static boolean isClusterConfiguration (@ Nullable RedisConfiguration configuration ) {
@@ -113,7 +113,7 @@ static boolean isClusterConfiguration(@Nullable RedisConfiguration configuration
113113
114114 /**
115115 * @param configuration can be {@literal null}.
116- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link StaticMasterReplicaConfiguration}.
116+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link StaticMasterReplicaConfiguration}.
117117 */
118118 @ Contract ("null -> false" )
119119 static boolean isStaticMasterReplicaConfiguration (@ Nullable RedisConfiguration configuration ) {
@@ -122,7 +122,7 @@ static boolean isStaticMasterReplicaConfiguration(@Nullable RedisConfiguration c
122122
123123 /**
124124 * @param configuration can be {@literal null}.
125- * @return {@code true} if given {@link RedisConfiguration} is instance of {@link DomainSocketConfiguration}.
125+ * @return {@code true} if given {@code RedisConfiguration} is instance of {@link DomainSocketConfiguration}.
126126 */
127127 @ Contract ("null -> false" )
128128 static boolean isDomainSocketConfiguration (@ Nullable RedisConfiguration configuration ) {
@@ -131,7 +131,7 @@ static boolean isDomainSocketConfiguration(@Nullable RedisConfiguration configur
131131
132132 /**
133133 * @param configuration can be {@literal null}.
134- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
134+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
135135 * {@link #isDatabaseIndexAware(RedisConfiguration) database aware}.
136136 * @return never {@literal null}.
137137 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -144,7 +144,7 @@ static Integer getDatabaseOrElse(@Nullable RedisConfiguration configuration, Sup
144144
145145 /**
146146 * @param configuration can be {@literal null}.
147- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
147+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
148148 * {@link #isAuthenticationAware(RedisConfiguration) password aware}.
149149 * @return can be {@literal null}.
150150 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -158,7 +158,7 @@ static Integer getDatabaseOrElse(@Nullable RedisConfiguration configuration, Sup
158158
159159 /**
160160 * @param configuration can be {@literal null}.
161- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
161+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
162162 * {@link #isAuthenticationAware(RedisConfiguration) password aware}.
163163 * @return never {@literal null}.
164164 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -171,7 +171,7 @@ static RedisPassword getPasswordOrElse(@Nullable RedisConfiguration configuratio
171171
172172 /**
173173 * @param configuration can be {@literal null}.
174- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
174+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
175175 * {@link #isHostAndPortAware(RedisConfiguration) port aware}.
176176 * @return never {@literal null}.
177177 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -185,7 +185,7 @@ static int getPortOrElse(@Nullable RedisConfiguration configuration, IntSupplier
185185
186186 /**
187187 * @param configuration can be {@literal null}.
188- * @param other a {@code Supplier} whose result is returned if given {@link RedisConfiguration} is not
188+ * @param other a {@code Supplier} whose result is returned if given {@code RedisConfiguration} is not
189189 * {@link #isHostAndPortAware(RedisConfiguration) host aware}.
190190 * @return never {@literal null}.
191191 * @throws IllegalArgumentException if {@code other} is {@literal null}.
@@ -198,7 +198,7 @@ static String getHostOrElse(@Nullable RedisConfiguration configuration, Supplier
198198 }
199199
200200 /**
201- * {@link RedisConfiguration} part suitable for configurations that may use authentication when connecting.
201+ * {@code RedisConfiguration} part suitable for configurations that may use authentication when connecting.
202202 *
203203 * @author Christoph Strobl
204204 * @author Mark Paluch
@@ -255,7 +255,7 @@ default void setPassword(char @Nullable[] password) {
255255 }
256256
257257 /**
258- * {@link RedisConfiguration} part suitable for configurations that may use authentication when connecting.
258+ * {@code RedisConfiguration} part suitable for configurations that may use authentication when connecting.
259259 *
260260 * @author Christoph Strobl
261261 * @since 2.1
@@ -265,7 +265,7 @@ interface WithPassword extends WithAuthentication {
265265 }
266266
267267 /**
268- * {@link RedisConfiguration} part suitable for configurations that use a specific database.
268+ * {@code RedisConfiguration} part suitable for configurations that use a specific database.
269269 *
270270 * @author Christoph Strobl
271271 * @since 2.1
@@ -288,7 +288,7 @@ interface WithDatabaseIndex {
288288 }
289289
290290 /**
291- * {@link RedisConfiguration} part suitable for configurations that use host/port combinations for connecting.
291+ * {@code RedisConfiguration} part suitable for configurations that use host/port combinations for connecting.
292292 *
293293 * @author Christoph Strobl
294294 * @since 2.1
@@ -323,7 +323,7 @@ interface WithHostAndPort {
323323 }
324324
325325 /**
326- * {@link RedisConfiguration} part suitable for configurations that use native domain sockets for connecting.
326+ * {@code RedisConfiguration} part suitable for configurations that use native domain sockets for connecting.
327327 *
328328 * @author Christoph Strobl
329329 * @since 2.1
0 commit comments