@@ -56,10 +56,10 @@ public interface ConfigurationService {
56
56
* </p>
57
57
*
58
58
* @param baseConfiguration the {@link ConfigurationService} to start from
59
- * @param overrider the {@link ConfigurationServiceOverrider} used to change the values provided
60
- * by the base configuration
59
+ * @param overrider the {@link ConfigurationServiceOverrider} used to change the values
60
+ * provided by the base configuration
61
61
* @return a new {@link ConfigurationService} starting from the configuration provided as base but
62
- * with overridden values.
62
+ * with overridden values.
63
63
*/
64
64
static ConfigurationService newOverriddenConfigurationService (
65
65
ConfigurationService baseConfiguration ,
@@ -86,9 +86,9 @@ static ConfigurationService newOverriddenConfigurationService(
86
86
* </p>
87
87
*
88
88
* @param overrider the {@link ConfigurationServiceOverrider} used to change the values provided
89
- * by the default configuration
89
+ * by the default configuration
90
90
* @return a new {@link ConfigurationService} overriding the default values with the ones provided
91
- * by the specified {@link ConfigurationServiceOverrider}
91
+ * by the specified {@link ConfigurationServiceOverrider}
92
92
* @since 4.4.0
93
93
*/
94
94
static ConfigurationService newOverriddenConfigurationService (
@@ -100,9 +100,9 @@ static ConfigurationService newOverriddenConfigurationService(
100
100
* Retrieves the configuration associated with the specified reconciler
101
101
*
102
102
* @param reconciler the reconciler we want the configuration of
103
- * @param <R> the {@code CustomResource} type associated with the specified reconciler
104
- * @return the {@link ControllerConfiguration} associated with the specified reconciler or {@code
105
- * null} if no configuration exists for the reconciler
103
+ * @param <R> the {@code CustomResource} type associated with the specified reconciler
104
+ * @return the {@link ControllerConfiguration} associated with the specified reconciler or
105
+ * {@code null} if no configuration exists for the reconciler
106
106
*/
107
107
<R extends HasMetadata > ControllerConfiguration <R > getConfigurationFor (Reconciler <R > reconciler );
108
108
@@ -223,7 +223,7 @@ default Metrics getMetrics() {
223
223
* handle concurrent reconciliations
224
224
*
225
225
* @return the {@link ExecutorService} implementation to use for concurrent reconciliation
226
- * processing
226
+ * processing
227
227
*/
228
228
default ExecutorService getExecutorService () {
229
229
return Executors .newFixedThreadPool (concurrentReconciliationThreads ());
@@ -251,7 +251,8 @@ default boolean closeClientOnStop() {
251
251
252
252
/**
253
253
* Override to provide a custom {@link DependentResourceFactory} implementation to change how
254
- * {@link io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource} are instantiated
254
+ * {@link io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource} are
255
+ * instantiated
255
256
*
256
257
* @return the custom {@link DependentResourceFactory} implementation
257
258
*/
@@ -300,8 +301,8 @@ default Duration cacheSyncTimeout() {
300
301
}
301
302
302
303
/**
303
- * This is the timeout value that allows the reconciliation threads to gracefully shut down.
304
- * If no value is set, the default is immediate shutdown.
304
+ * This is the timeout value that allows the reconciliation threads to gracefully shut down. If no
305
+ * value is set, the default is immediate shutdown.
305
306
*
306
307
* @return The duration of time to wait before terminating the reconciliation threads
307
308
*/
@@ -363,9 +364,8 @@ default ExecutorServiceManager getExecutorServiceManager() {
363
364
* SSA based create/update can be still used with the legacy matching, just overriding the match
364
365
* method of Kubernetes Dependent Resource.
365
366
*
366
- * @since 4.4.0
367
- *
368
367
* @return if SSA should be used for dependent resources
368
+ * @since 4.4.0
369
369
*/
370
370
default boolean ssaBasedCreateUpdateMatchForDependentResources () {
371
371
return true ;
@@ -393,9 +393,8 @@ default Set<Class<? extends HasMetadata>> defaultNonSSAResource() {
393
393
* <p>
394
394
* Disable this if you want to react to your own dependent resource updates
395
395
*
396
- * @since 4.5.0
397
- *
398
396
* @return if special annotation should be used for dependent resource to filter events
397
+ * @since 4.5.0
399
398
*/
400
399
default boolean previousAnnotationForDependentResourcesEventFiltering () {
401
400
return true ;
@@ -410,9 +409,8 @@ default boolean previousAnnotationForDependentResourcesEventFiltering() {
410
409
* logic, and you want to further minimize the amount of work done / updates issued by the
411
410
* operator.
412
411
*
413
- * @since 4.5.0
414
- *
415
412
* @return if resource version should be parsed (as integer)
413
+ * @since 4.5.0
416
414
*/
417
415
default boolean parseResourceVersionsForEventFilteringAndCaching () {
418
416
return false ;
@@ -424,9 +422,9 @@ default boolean parseResourceVersionsForEventFilteringAndCaching() {
424
422
* adding finalizers, patching resources and status.
425
423
*
426
424
* @return {@code true} if Server-Side Apply (SSA) should be used when patching the primary
427
- * resources, {@code false} otherwise
428
- * @since 5.0.0
425
+ * resources, {@code false} otherwise
429
426
* @see ConfigurationServiceOverrider#withUseSSAToPatchPrimaryResource(boolean)
427
+ * @since 5.0.0
430
428
*/
431
429
default boolean useSSAToPatchPrimaryResource () {
432
430
return true ;
@@ -447,8 +445,7 @@ default boolean useSSAToPatchPrimaryResource() {
447
445
* </p>
448
446
*
449
447
* @return {@code true} if resources should be defensively cloned before returning them from
450
- * caches, {@code false} otherwise
451
- *
448
+ * caches, {@code false} otherwise
452
449
* @since 5.0.0
453
450
*/
454
451
default boolean cloneSecondaryResourcesWhenGettingFromCache () {
0 commit comments