Преглед изворни кода

Update toString() method of ParamFlowRule

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao пре 5 година
родитељ
комит
5f713bd404
1 измењених фајлова са 16 додато и 0 уклоњено
  1. +16
    -0
      sentinel-extension/sentinel-parameter-flow-control/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/param/ParamFlowRule.java

+ 16
- 0
sentinel-extension/sentinel-parameter-flow-control/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/param/ParamFlowRule.java Прегледај датотеку

@@ -233,4 +233,20 @@ public class ParamFlowRule extends AbstractRule {
result = 31 * result + (clusterConfig != null ? clusterConfig.hashCode() : 0);
return result;
}

@Override
public String toString() {
return "ParamFlowRule{" +
"grade=" + grade +
", paramIdx=" + paramIdx +
", count=" + count +
", controlBehavior=" + controlBehavior +
", maxQueueingTimeMs=" + maxQueueingTimeMs +
", burstCount=" + burstCount +
", durationInSec=" + durationInSec +
", paramFlowItemList=" + paramFlowItemList +
", clusterMode=" + clusterMode +
", clusterConfig=" + clusterConfig +
'}';
}
}

Loading…
Откажи
Сачувај