Constructor and Description |
---|
NoOpCounter() |
Modifier and Type | Method and Description |
---|---|
Counter |
getCounter(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(Class> klass)
Counter
getCounter
in interface Counter
klass
- The Class asking for the Counter
Counter.getCounter(java.lang.Class)
public void read(long l)
Counter
read
in interface Counter
l
- the length of the file that was written
Counter.read(long)
public void written(long l)
Counter
written
in interface Counter
l
- the length of the file that was written
Counter.written(long)
Copyright © 1998–2019. All rights reserved.