| Constructor and Description |
|---|
DefaultCounter() |
| 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)
CountergetCounter in interface Counterklass - Counter.getCounter(java.lang.Class)public void read(long l)
Counterread in interface Counterl - the length of the file that was writtenCounter.read(long)public void written(long l)
Counterwritten in interface Counterl - the length of the file that was writtenCounter.written(long)Copyright © 2022. All rights reserved.