| Modifier and Type | Field and Description |
|---|---|
protected String |
name
The name of the class for which the Counter was created (or iText if no name is available)
|
| Modifier | Constructor and Description |
|---|---|
|
SysoCounter()
Empty SysoCounter constructor.
|
protected |
SysoCounter(Class> klass)
Constructs a SysoCounter for a specific class.
|
| 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.
|
protected String name
public SysoCounter()
protected SysoCounter(Class> klass)
klass -
public Counter getCounter(Class> klass)
Counter
getCounter in interface 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–2021. All rights reserved.