public interface StatisticsData
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDataCollector(String name)
Method adds a new collector with key name.
|
void |
balanceDataLevels(String name)
Method checks, if ticks held in different levels still observe the defined borders.
|
boolean |
containsDataCollector(String name)
Find out, whether the Data-Collector identified by name is registered.
|
Object[][] |
getAllData(String name,
int maxTicks,
long utcOffset)
Get all available data of the Data-Collector defined by name.
|
float |
getCollectorValue(String name,
long timestamp)
Get one value of the collector called name at the given timestamp.
|
int |
getCurrentSize(String name)
Get the current size of the data-collector called name.
|
Object[][] |
getTickAsArray(String name,
long period,
int maxTicks,
long utcOffset)
Get time-period of length period in ms from Collector name as Object Array.
|
Object[][] |
getTimePeriodData(String name,
long start,
long end,
long utcOffset)
Get the data of a speciific period of time from start till end.
|
boolean |
putData(String name,
long timestamp,
float value)
Method for putting one collected dataset consisting of a timestamp and a value.
|
boolean |
removeDataCollector(String name)
Removes a registered Data-Collector, defined by name.
|
boolean addDataCollector(String name)
name - The name of the collector.boolean removeDataCollector(String name)
name - String The name, defining the collector to be removed.boolean containsDataCollector(String name)
name - String The name identifying the Data-Collector.boolean putData(String name, long timestamp, float value)
name - The name of the data that are collected.timestamp - The time when the value has been collected, as milliseconds passed since 01.01.1970.value - The value that has been collected at specified time.Object[][] getTimePeriodData(String name, long start, long end, long utcOffset)
name - The name of the data you want to get.start - The start-timestamp for the data.end - The end-timestamp for the data.utcOffset - The difference between local client time and UTC-time (server time) in ms.Object[][] getAllData(String name, int maxTicks, long utcOffset)
name - String The name defining the Data-Collector you want to get the Data from.utcOffset - The difference between local client time and UTC-time (server time) in ms.maxTicks - The maximum number of ticks that will be returned.Object[][] getTickAsArray(String name, long period, int maxTicks, long utcOffset)
name - The name identifying the DataCollector, which data is returned.period - Defines how long into past the time period should reach from now.maxTicks - Specifies the maximum number of Ticks that should be returned.utcOffset - The difference between local client time and UTC-time (server time) in ms.int getCurrentSize(String name)
void balanceDataLevels(String name)
name - The name of the Collector that should be balanced.float getCollectorValue(String name, long timestamp)
name - The name of the collector.timestamp - The timestamp you want to have the value of.Copyright © 2017 SAP SE. All Rights Reserved.