org.jdiameter.common.api.statistic
Interface IStatisticRecord

All Superinterfaces:
StatisticRecord

public interface IStatisticRecord
extends StatisticRecord

This interface describe extends methods of base class

Author:
erick.svenson@yahoo.com, Bartosz Baranowski , Alexandre Mendonca

Nested Class Summary
static class IStatisticRecord.Counters
           
static interface IStatisticRecord.DoubleValueHolder
           
static interface IStatisticRecord.IntegerValueHolder
           
static interface IStatisticRecord.LongValueHolder
           
static interface IStatisticRecord.ValueHolder
          ValueHolder for external statistics
 
Method Summary
 void dec()
          Decrement counter
 void inc()
          Increment counter
 void inc(long value)
          Increment counter
 void setDoubleValue(double value)
          Set value of statistic
 void setLongValue(long value)
          Set value of statistic
 
Methods inherited from interface org.jdiameter.api.StatisticRecord
enable, getChilds, getDescription, getName, getValueAsDouble, getValueAsInt, getValueAsLong, isEnabled, reset
 

Method Detail

inc

void inc()
Increment counter


inc

void inc(long value)
Increment counter


dec

void dec()
Decrement counter


setLongValue

void setLongValue(long value)
Set value of statistic

Parameters:
value - new value of record

setDoubleValue

void setDoubleValue(double value)
Set value of statistic

Parameters:
value - new value of record


Copyright © 2014. All Rights Reserved.