Browse Source

Update toString() method of ParamFlowRule

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao 5 years ago
parent
commit
5f713bd404
1 changed files with 16 additions and 0 deletions
  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 View File

@@ -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…
Cancel
Save