xsmeral.pipe.stats
Interface StatsReader

All Known Implementing Classes:
Stats.Reader

public interface StatsReader

Interface for access to statistics stored in processing context.


Method Summary
 Double getDouble(String statName)
          Returns value of the context parameter with the supplied name as a Double.
 Double getDouble(String group, String stat)
          Returns value of the statistic specified by group and name as a Double.
 Long getLong(String statName)
          Returns value of the context parameter with the supplied name as a Long.
 Long getLong(String group, String stat)
          Returns value of the statistic specified by group and name as a Long.
 

Method Detail

getDouble

Double getDouble(String statName)
Returns value of the context parameter with the supplied name as a Double.

Parameters:
statName - Full name of the context parameter

getDouble

Double getDouble(String group,
                 String stat)
Returns value of the statistic specified by group and name as a Double.

Parameters:
group - Group name
stat - Stat name

getLong

Long getLong(String statName)
Returns value of the context parameter with the supplied name as a Long.

Parameters:
statName - Full name of the context parameter

getLong

Long getLong(String group,
             String stat)
Returns value of the statistic specified by group and name as a Long.

Parameters:
group - Group name
stat - Stat name