Przeglądaj źródła

doc: Fix incorrect comment of rollingCounterInSecond in StatisticNode (#2064)

master
张春阳 GitHub 3 lat temu
rodzic
commit
3755d53498
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java

+ 1
- 1
sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java Wyświetl plik

@@ -90,7 +90,7 @@ import com.alibaba.csp.sentinel.util.function.Predicate;
public class StatisticNode implements Node {

/**
* Holds statistics of the recent {@code INTERVAL} seconds. The {@code INTERVAL} is divided into time spans
* Holds statistics of the recent {@code INTERVAL} milliseconds. The {@code INTERVAL} is divided into time spans
* by given {@code sampleCount}.
*/
private transient volatile Metric rollingCounterInSecond = new ArrayMetric(SampleCountProperty.SAMPLE_COUNT,


Ładowanie…
Anuluj
Zapisz