com.sun.enterprise.admin.monitor.stats
Interface MutableCountStatistic

All Superinterfaces:
MutableStatistic, Serializable
All Known Implementing Classes:
MutableAverageRangeStatisticImpl, MutableBoundedRangeStatisticImpl, MutableCountStatisticImpl

public interface MutableCountStatistic
extends MutableStatistic

An interface that imparts mutability to a CountStatistic by the virtue of extending MutableStatistic.

Since:
S1AS8.0
Version:
1.0
Author:
Kedar Mhaswade

Method Summary
 void setCount(long current)
          Provides the mutator to the only statistic in the implementing class that changes - Count.
 
Methods inherited from interface com.sun.enterprise.admin.monitor.stats.MutableStatistic
modifiableView, reset, unmodifiableView
 

Method Detail

setCount

void setCount(long current)
Provides the mutator to the only statistic in the implementing class that changes - Count. It is expected that the count is monotonically increasing on a temporal scale.

Parameters:
current - long that specifies the value when measured (sampled).


Copyright © 2012. All Rights Reserved.