MCPcopy Index your code
hub / github.com/ccxt/ccxt / loop

Method loop

java/lib/src/main/java/io/github/ccxt/Throttler.java:120–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 }
119
120 private void loop() {
121 if ("leakyBucket".equals(this.algorithm)) {
122 leakyBucketLoop();
123 } else {
124 rollingWindowLoop();
125 }
126 }
127
128 private void leakyBucketLoop() {
129 long lastTimestamp = milliseconds();

Callers

nothing calls this directly

Calls 3

leakyBucketLoopMethod · 0.95
rollingWindowLoopMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected