DefaultCounter, NoOpCounter, SysoCounterpublic interface Counter
| 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.
|
Counter getCounter(java.lang.Class<?> klass)
void read(long l)
l - the length of the file that was writtenvoid written(long l)
l - the length of the file that was writtenCopyright © 1998–2018. All rights reserved.