public class DataStatistics extends Object
| Constructor and Description |
|---|
DataStatistics()
Creates a new statistics object, with an empty cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cacheBaseStatistics(BaseStatistics statistics,
String identifier)
Caches the given statistics.
|
BaseStatistics |
getBaseStatistics(String inputIdentifier)
Gets the base statistics for the input identified by the given identifier.
|
public DataStatistics()
public BaseStatistics getBaseStatistics(String inputIdentifier)
inputIdentifier - The identifier for the input.public void cacheBaseStatistics(BaseStatistics statistics, String identifier)
statistics - The statistics to cache.identifier - The identifier which may be later used to retrieve the statistics.Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.