public interface FieldValueCounterRepository extends MetricRepository<FieldValueCounter>
Modifier and Type | Method and Description |
---|---|
void |
decrement(java.lang.String name,
java.lang.String fieldName)
Decrement the FieldValueCounter for a given field name by one, creating missing counters.
|
void |
increment(java.lang.String name,
java.lang.String fieldName)
Increment the FieldValueCounter for a given field name by one, creating missing counters.
|
void |
reset(java.lang.String name,
java.lang.String fieldName)
Reset the FieldValueCounter to zero for the given field name, creating missing counters.
|
void increment(java.lang.String name, java.lang.String fieldName)
name
- the FieldValueCounter namefieldName
- the name of the fieldjava.lang.IllegalArgumentException
- in case the given name is nullvoid decrement(java.lang.String name, java.lang.String fieldName)
name
- the FieldValueCounter namefieldName
- the name of the fieldjava.lang.IllegalArgumentException
- in case the given name is nullvoid reset(java.lang.String name, java.lang.String fieldName)
name
- the FieldValueCounter namefieldName
- the name of the fieldjava.lang.IllegalArgumentException
- in case the given name is null