MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / reset

Method reset

samples/JGroups/src/RATE_LIMITER.java:108–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 protected void reset() {
109 lock.lock();
110 try {
111 // blocking=false;
112 num_bytes_sent=0L;
113 end_of_current_period=System.currentTimeMillis() + time_period;
114 block.signalAll();
115 }
116 finally {
117 lock.unlock();
118 }
119 }
120}

Callers 4

downMethod · 0.95
stopMethod · 0.95
OtFunction · 0.45
d3.min.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected