We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1c8ce commit 11653b4Copy full SHA for 11653b4
src/main/java/org/threadly/litesockets/utils/SimpleByteStats.java
@@ -9,18 +9,6 @@
9
* Simple class for trying byteStats. This implementation only tracks global stats.
10
*/
11
public class SimpleByteStats {
12
- public static final SimpleByteStats NO_OP_BYTE_STAT_INSTANCE = new SimpleByteStats() {
13
- @Override
14
- protected void addWrite(final int size) {
15
- // ignored
16
- }
17
-
18
19
- protected void addRead(final int size) {
20
21
22
- };
23
24
private final LongAdder bytesRead = new LongAdder();
25
private final LongAdder bytesWritten = new LongAdder();
26
private volatile long startTime = Clock.lastKnownForwardProgressingMillis();
0 commit comments