public class DefaultProcessingUnitStatistics extends Object implements InternalProcessingUnitStatistics
Constructor and Description |
---|
DefaultProcessingUnitStatistics(long adminTimestamp,
ProcessingUnitStatistics lastStatistics,
int historySize) |
Modifier and Type | Method and Description |
---|---|
void |
addStatistics(ProcessingUnitStatisticsId statisticsId,
Object statisticsValue)
Adds raw statistics values
|
void |
calculateStatistics(Iterable<ProcessingUnitStatisticsId> statisticsIds)
Calculates new statistics based on previously added statistics and the specified statistics
calculations and the list of instance UIDs
|
long |
getAdminTimestamp() |
ProcessingUnitStatistics |
getPrevious() |
Map<ProcessingUnitStatisticsId,Object> |
getStatistics() |
String |
toString() |
public DefaultProcessingUnitStatistics(long adminTimestamp, ProcessingUnitStatistics lastStatistics, int historySize)
public long getAdminTimestamp()
getAdminTimestamp
in interface ProcessingUnitStatistics
public ProcessingUnitStatistics getPrevious()
getPrevious
in interface ProcessingUnitStatistics
public Map<ProcessingUnitStatisticsId,Object> getStatistics()
getStatistics
in interface ProcessingUnitStatistics
ProcessingUnitStatisticsId
public void addStatistics(ProcessingUnitStatisticsId statisticsId, Object statisticsValue)
InternalProcessingUnitStatistics
addStatistics
in interface InternalProcessingUnitStatistics
public void calculateStatistics(Iterable<ProcessingUnitStatisticsId> statisticsIds)
InternalProcessingUnitStatistics
calculateStatistics
in interface InternalProcessingUnitStatistics
documentation
Copyright © GigaSpaces.