public interface Statistics
To use acquire an instance from the StatisticsFactory.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Statistics.Daily |
static class |
Statistics.DailyStatType |
| Modifier and Type | Method and Description |
|---|---|
void |
clearUsedContainers()
Deletes information about used containers from the persistent storage.
|
List<Statistics.Daily> |
getDailyStatistics(String sinceDate)
Returns a list of Daily statistics since the specified sinceDate, specified in
ISO-8601 format (yyyy-MM-dd) up until today (excluded).
|
long |
getFirstSavedRedeploy() |
long |
getRedeployCountThisHeartbeatInterval() |
long |
getTotalRedeployCount() |
String[][] |
getUsedContainers() |
int |
historyLengthInDays() |
int |
redeployCountLast30Days() |
int |
redeployCountLast365Days() |
float |
redeployLengthInSeconds() |
void |
reportError(Throwable e,
String version,
String jarFile)
Report CBP failure, implementation must be async.
|
void |
reportUsedContainer(String name,
String version)
Stores information about a used container in persistent storage.
|
int |
turnaroundTime() |
void |
writeHeartbeat() |
float redeployLengthInSeconds()
int redeployCountLast30Days()
int redeployCountLast365Days()
int historyLengthInDays()
void reportError(Throwable e, String version, String jarFile)
e - version - jarFile - void reportUsedContainer(String name, String version)
getUsedContainers() method.name - name of the container. Should be non-blank!version - Version of the used container. May be null.long getFirstSavedRedeploy()
int turnaroundTime()
long getTotalRedeployCount()
long getRedeployCountThisHeartbeatInterval()
void writeHeartbeat()
String[][] getUsedContainers()
void clearUsedContainers()
List<Statistics.Daily> getDailyStatistics(String sinceDate)
sinceDate - ISO-8601 representation OF the date (yyyy-MM-dd)Copyright © 2016. All rights reserved.