Explorar el Código

Update toString() method of ParamFlowRule

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao hace 6 años
padre
commit
5f713bd404
Se han modificado 1 ficheros con 16 adiciones y 0 borrados
  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 Ver fichero

@@ -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 +
'}';
}
}

Cargando…
Cancelar
Guardar