|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation
org.torweg.pulse.component.statistics.model.aggregation.AbstractRegexVersionedCounterAggregation<T,U>
T - the
org.torweg.pulse.component.statistics.AbstractRegexVersioned
being countedU - the underlying AbstractRegexVersionedCounter@MappedSuperclass public abstract class AbstractRegexVersionedCounterAggregation<T,U extends AbstractRegexVersionedCounter<?>>
An abstract base class to derive the actual aggregation for an AbstractRegexVersioned from.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
AbstractAggregation.Hour |
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
AbstractRegexVersionedCounterAggregation()
|
|
| Method Summary | |
|---|---|
int |
getCount()
Returns the counter. |
T |
getCounted()
Returns the underlying org.torweg.pulse.component.statistics.*
being counted. |
int |
getUnknownVersionTotal()
Returns the counter of unmatched Visits. |
java.util.Set<U> |
getVersionCounters()
Returns the underlying set of AbstractRegexVersionedCounter. |
protected void |
increase()
Adds 1 to the internal counter counter. |
protected void |
setCount(int value)
Sets the internal counter to the given value. |
protected void |
setCounted(T count)
Sets the underlying org.torweg.pulse.component.statistics.* being
counted. |
java.lang.String |
toString()
Returns a string representation. |
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
aggregate, getDataResolution, getDuration, getEndMillis, getStartMillis, getStatisticsServer, isAggregateable, setDuration, setEndMillis, setStartMillis, setStatisticsServer |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRegexVersionedCounterAggregation()
| Method Detail |
|---|
public final T getCounted()
org.torweg.pulse.component.statistics.*
being counted.
org.torweg.pulse.component.statistics.* being countedprotected final void setCounted(T count)
org.torweg.pulse.component.statistics.* being
counted.
count - the org.torweg.pulse.component.statistics.* to count
java.lang.NullPointerException - if the given count is nullpublic final java.util.Set<U> getVersionCounters()
AbstractRegexVersionedCounter.
public final int getCount()
getCount in interface ICountprotected final void setCount(int value)
value - the value to set
java.lang.IllegalArgumentException - if
protected final void increase()
public final int getUnknownVersionTotal()
Visits.
Visitspublic java.lang.String toString()
toString in class AbstractAggregation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||