public interface Statistics
To use acquire an instance from the StatisticsFactory.
| Modifier and Type | Method and Description |
|---|---|
void |
clearUsedContainers()
Deletes information about used containers from the persistent storage.
|
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()
Copyright © 2016. All rights reserved.