org.jdiameter.api
Interface StatisticRecord


public interface StatisticRecord

This class implements counter of statistic

Version:
1.5.1 Final

Method Summary
 StatisticRecord[] getChilds()
          Return childs counters
 java.lang.String getDescription()
          Retrurn description of counter
 java.lang.String getName()
          Return name of counter
 int getType()
          Return code of counter
 double getValueAsDouble()
          Return value of counter as double
 int getValueAsInt()
          Return value of counter as integer
 long getValueAsLong()
          Return value of counter as long
 void reset()
          Reset counter and all child counters
 

Method Detail

getName

java.lang.String getName()
Return name of counter

Returns:
name of counter

getDescription

java.lang.String getDescription()
Retrurn description of counter

Returns:
description of counter

getValueAsInt

int getValueAsInt()
Return value of counter as integer

Returns:
value of counter

getValueAsDouble

double getValueAsDouble()
Return value of counter as double

Returns:
value of counter

getValueAsLong

long getValueAsLong()
Return value of counter as long

Returns:
value of counter

getType

int getType()
Return code of counter

Returns:
code of counter

getChilds

StatisticRecord[] getChilds()
Return childs counters

Returns:
array of childs countres

reset

void reset()
Reset counter and all child counters



Copyright © 2010. All Rights Reserved.