org.jdiameter.api
Interface StatisticRecord


public interface StatisticRecord

This class implements counter of statistic

Version:
1.5.1 Final
Author:
erick.svenson@yahoo.com

Method Summary
 void enable(boolean e)
          Enable/Disable counter
 StatisticRecord[] getChilds()
          Return child counters
 java.lang.String getDescription()
          Return description of counter
 java.lang.String getName()
          Return name 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
 boolean isEnabled()
           
 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()
Return 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

getChilds

StatisticRecord[] getChilds()
Return child counters

Returns:
array of child counters

reset

void reset()
Reset counter and all child counters


enable

void enable(boolean e)
Enable/Disable counter

Parameters:
e - on/off parameter

isEnabled

boolean isEnabled()


Copyright © 2013. All Rights Reserved.