File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
hystrix-core/src/main/java/com/netflix/hystrix Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ public static Setter defaultSetter() {
213213 * @NotThreadSafe
214214 */
215215 public static class Setter {
216- private Boolean collapsingEnabled = null ;
216+ @ Deprecated private Boolean collapsingEnabled = null ;
217217 private Integer maxRequestsInBatch = null ;
218218 private Integer timerDelayInMilliseconds = null ;
219219 private Boolean requestCacheEnabled = null ;
@@ -227,6 +227,10 @@ public static class Setter {
227227 private Setter () {
228228 }
229229
230+ /**
231+ * Deprecated because the collapsingEnabled setting doesn't do anything.
232+ */
233+ @ Deprecated
230234 public Boolean getCollapsingEnabled () {
231235 return collapsingEnabled ;
232236 }
@@ -267,7 +271,10 @@ public Integer getMetricsRollingPercentileWindowBuckets() {
267271 return metricsRollingPercentileWindowBuckets ;
268272 }
269273
270-
274+ /**
275+ * Deprecated because the collapsingEnabled setting doesn't do anything.
276+ */
277+ @ Deprecated
271278 public Setter withCollapsingEnabled (boolean value ) {
272279 this .collapsingEnabled = value ;
273280 return this ;
You can’t perform that action at this time.
0 commit comments