org.gcube.common.accounting.node.persistence
Class StatisticsData
java.lang.Object
org.gcube.common.accounting.node.persistence.StatisticsData
- All Implemented Interfaces:
- Serializable
public class StatisticsData
- extends Object
- implements Serializable
- Author:
- Andrea Manzi(CERN)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsData
public StatisticsData(RIAccountingData.statisticsType type,
long interval)
- Parameters:
type
-
getType
public RIAccountingData.statisticsType getType()
setType
public void setType(RIAccountingData.statisticsType type)
addStatistics
public void addStatistics(Double value)
throws Exception
- Throws:
Exception
getStatistics
public Double getStatistics(Long index)
throws Exception
- Throws:
Exception
getInterval
public long getInterval()
setInterval
public void setInterval(long interval)
getIntervalMapping
public HashMap<Long,Long> getIntervalMapping()
setIntervalMapping
public void setIntervalMapping(HashMap<Long,Long> intervalMapping)
Copyright © 2013. All Rights Reserved.