public class HealthTracker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HealthTracker.DailyMetrics |
static class |
HealthTracker.MinuteInfo |
static class |
HealthTracker.RollingMetrics |
Modifier and Type | Method and Description |
---|---|
Double |
getAverageAppCpuLoad() |
Double |
getAverageSystemCpuLoad() |
org.apache.commons.collections4.queue.CircularFifoQueue<ExceptionInfo> |
getExceptionQueue() |
HttpHealthInfo |
getHttpHealthInfo() |
ZonedDateTime |
getSslExpires() |
boolean |
getSslExpiresIn21() |
boolean |
getSslExpiresIn7() |
Double |
getSwapPages() |
void |
incrementQueue(org.apache.commons.collections4.queue.CircularFifoQueue<HealthTracker.MinuteInfo> queue) |
static HealthTracker |
instance() |
int |
lastTenMinutesCount(org.apache.commons.collections4.queue.CircularFifoQueue<HealthTracker.MinuteInfo> queue) |
void |
logException(Throwable e) |
void |
logResponse(StRequest request,
StResponse response) |
static void |
shutdown() |
static void |
start() |
public static void start()
public static HealthTracker instance()
public static void shutdown()
public Double getAverageSystemCpuLoad()
public Double getAverageAppCpuLoad()
public Double getSwapPages()
public ZonedDateTime getSslExpires()
public boolean getSslExpiresIn7()
public boolean getSslExpiresIn21()
public HttpHealthInfo getHttpHealthInfo()
public void logException(Throwable e)
public int lastTenMinutesCount(org.apache.commons.collections4.queue.CircularFifoQueue<HealthTracker.MinuteInfo> queue)
public void logResponse(StRequest request, StResponse response)
public void incrementQueue(org.apache.commons.collections4.queue.CircularFifoQueue<HealthTracker.MinuteInfo> queue)
public org.apache.commons.collections4.queue.CircularFifoQueue<ExceptionInfo> getExceptionQueue()
Copyright © 2016. All rights reserved.