Constructor | Description |
---|---|
NoOpCounter() |
Modifier and Type | Method | Description |
---|---|---|
Counter |
getCounter(java.lang.Class<?> klass) |
Gets a Counter instance for a specific class.
|
void |
read(long l) |
This method gets triggered if a file is read.
|
void |
written(long l) |
This method gets triggered if a file is written.
|
public Counter getCounter(java.lang.Class<?> klass)
Counter
getCounter
in interface Counter
klass
- The Class asking for the CounterCounter.getCounter(java.lang.Class)
public void read(long l)
Counter
read
in interface Counter
l
- the length of the file that was writtenCounter.read(long)
public void written(long l)
Counter
written
in interface Counter
l
- the length of the file that was writtenCounter.written(long)
Copyright © 1998–2018. All rights reserved.