Skip to content

Commit 97ff33c

Browse files
committed
addded javadocs
1 parent 334f757 commit 97ff33c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,20 @@ default boolean checkCRDAndValidateLocalModel() {
7878
int MIN_DEFAULT_RECONCILIATION_THREADS_NUMBER = 10;
7979

8080
/**
81-
* Retrieves the maximum number of threads the operator can spin out to dispatch reconciliation
82-
* requests to reconcilers
81+
* The maximum number of threads the operator can spin out to dispatch reconciliation requests to
82+
* reconcilers
8383
*
8484
* @return the maximum number of concurrent reconciliation threads
8585
*/
8686
default int concurrentReconciliationThreads() {
8787
return DEFAULT_RECONCILIATION_THREADS_NUMBER;
8888
}
8989

90+
/**
91+
* The minimum number of threads the operator starts in the thread pool for reconciliations.
92+
*
93+
* @return the minimum number of concurrent reconciliation threads
94+
*/
9095
default int minConcurrentReconciliationThreads() {
9196
return MIN_DEFAULT_RECONCILIATION_THREADS_NUMBER;
9297
}
@@ -103,6 +108,11 @@ default int concurrentWorkflowExecutorThreads() {
103108
return DEFAULT_WORKFLOW_EXECUTOR_THREAD_NUMBER;
104109
}
105110

111+
/**
112+
* The minimum number of threads the operator starts in the thread pool for workflows.
113+
*
114+
* @return the minimum number of concurrent workflow threads
115+
*/
106116
default int minConcurrentWorkflowExecutorThreads() {
107117
return MIN_DEFAULT_WORKFLOW_EXECUTOR_THREAD_NUMBER;
108118
}

0 commit comments

Comments
 (0)