Package | Description |
---|---|
messif.algorithms |
Search algorithms base classes.
|
messif.network |
Message-based networking support.
|
messif.statistics |
Statistic gathering support.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Statistics<?>> |
DistributedAlgorithm.setupMessageStatistics(Message msg)
Given a just-arrived message, this method registers (binds) DC, DC.Savings and BlockReads statistics
for current thread.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DistributedAlgorithm.deregisterMessageStatistics(java.util.Collection<Statistics<?>> stats)
Unbind given statistics.
|
Modifier and Type | Method and Description |
---|---|
Statistics<?> |
Message.registerBoundStat(java.lang.String name)
Add a statistic to the actual navigation element and bind it to some global statistic.
|
Statistics<?> |
Message.registerBoundStat(java.lang.String name,
java.lang.String asName)
Add a statistic to the actual navigation element and bind it to some global statistic.
|
Modifier and Type | Class and Description |
---|---|
class |
Statistics<TSelf extends Statistics<TSelf>>
Base class for all statistics.
|
Modifier and Type | Class and Description |
---|---|
class |
StatisticCounter |
class |
StatisticMinMaxCounter |
class |
StatisticObject |
class |
StatisticRefCounter |
class |
StatisticSimpleWeakrefCounter |
class |
StatisticSlidingAvgCounter
This is a statistic that counts aggregated functions (especially avg) from
1) last n values - if n+1 value is added, the first is removed and not considered any more or
2) values stored in the time-sliding window
3) combination of 1) and 2)
Moreover, there is a possibility of linking each value (and time) with a "key" and then all
values added to this counter are sumed up according to the key
|
class |
StatisticTimer
Statistics for counting wall-clock time.
|
Modifier and Type | Field and Description |
---|---|
protected Statistics<TSelf> |
Statistics.replaceWith
Serialization replacement object
|
Modifier and Type | Method and Description |
---|---|
static <T extends Statistics<T>> |
OperationStatistics.getOpStatistics(java.lang.String name,
java.lang.Class<? extends T> statisticsClass)
Returns statistics counter from current thread operation statistics namespace
|
static <T extends Statistics<? extends T>> |
Statistics.getStatistics(java.lang.String statisticName,
java.lang.Class<? extends T> statisticClass)
Returns a registered global statistic.
|
<T extends Statistics<T>> |
OperationStatistics.getStatistics(java.lang.String statisticName,
java.lang.Class<? extends T> statisticClass)
Return a statistics of defined class from this operation statistics namespace
|
<T extends Statistics<T>> |
OperationStatistics.registerBoundStat(java.lang.Class<? extends T> statClass,
java.lang.String name,
java.lang.String asName)
Register bound statistic (using asName name) in this operation statistics namespace.
|
protected <T extends Statistics<T>> |
OperationStatistics.registerBoundStat(java.lang.String asName,
Statistics<T> bindToStat)
Register statistic in this operation statistics namespace.
|
Modifier and Type | Method and Description |
---|---|
static Statistics<?> |
Statistics.getStatistics(java.lang.String statisticName)
Returns a registered global statistic.
|
Statistics<?> |
OperationStatistics.registerBoundStat(java.lang.String name)
Register bound statistic in this operation statistics namespace
|
Statistics<?> |
OperationStatistics.registerBoundStat(java.lang.String name,
java.lang.String asName)
Register bound statistic (using asName name) in this operation statistics namespace
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Statistics<?>> |
OperationStatistics.getAllStatistics()
Access all statistics
|
static java.util.Iterator<Statistics<?>> |
Statistics.getAllStatistics()
Returns an iterator over all global statistics.
|
java.util.Iterator<Statistics<?>> |
OperationStatistics.getAllStatistics(java.lang.String regex)
Access statistics whose names match the given regular expression
|
static java.util.Iterator<Statistics<?>> |
Statistics.getAllStatistics(java.lang.String regex)
Returns an iterator over all global statistics with
names matching the provided regular expression.
|
java.util.Iterator<Statistics<?>> |
FutureWithStatisticsImpl.iterator() |
java.util.Iterator<Statistics<?>> |
OperationStatistics.iterator() |
Modifier and Type | Method and Description |
---|---|
protected <T extends Statistics<T>> |
OperationStatistics.registerBoundStat(java.lang.String asName,
Statistics<T> bindToStat)
Register statistic in this operation statistics namespace.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FutureWithStatisticsImpl.addStats(java.lang.Iterable<Statistics<?>> stats)
Collect the gathered statistics.
|
void |
OperationStatistics.updateFrom(java.lang.Iterable<? extends Statistics<?>> sourceStats)
Update this statistics with other operation statistics values.
|