File tree 1 file changed +12
-2
lines changed
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,20 @@ default boolean checkCRDAndValidateLocalModel() {
78
78
int MIN_DEFAULT_RECONCILIATION_THREADS_NUMBER = 10 ;
79
79
80
80
/**
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
83
83
*
84
84
* @return the maximum number of concurrent reconciliation threads
85
85
*/
86
86
default int concurrentReconciliationThreads () {
87
87
return DEFAULT_RECONCILIATION_THREADS_NUMBER ;
88
88
}
89
89
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
+ */
90
95
default int minConcurrentReconciliationThreads () {
91
96
return MIN_DEFAULT_RECONCILIATION_THREADS_NUMBER ;
92
97
}
@@ -103,6 +108,11 @@ default int concurrentWorkflowExecutorThreads() {
103
108
return DEFAULT_WORKFLOW_EXECUTOR_THREAD_NUMBER ;
104
109
}
105
110
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
+ */
106
116
default int minConcurrentWorkflowExecutorThreads () {
107
117
return MIN_DEFAULT_WORKFLOW_EXECUTOR_THREAD_NUMBER ;
108
118
}
You can’t perform that action at this time.
0 commit comments