Package fish.payara.nucleus.healthcheck
Class HistoricHealthCheckEventStore
- java.lang.Object
-
- fish.payara.nucleus.healthcheck.HistoricHealthCheckEventStore
-
@Service @Singleton public class HistoricHealthCheckEventStore extends Object
Stores historic health check events with descending occurring date. Comparator is implemented onHistoricHealthCheckEvent
- Author:
- mertcaliskan
-
-
Constructor Summary
Constructors Constructor Description HistoricHealthCheckEventStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTrace(long occurringTime, Level level, String userMessage, String message, Object[] parameters)
NavigableSet<HistoricHealthCheckEvent>
getHistoricStore()
HistoricHealthCheckEvent[]
getTraces()
HistoricHealthCheckEvent[]
getTraces(Integer limit)
-
-
-
Method Detail
-
addTrace
public void addTrace(long occurringTime, Level level, String userMessage, String message, Object[] parameters)
-
getTraces
public HistoricHealthCheckEvent[] getTraces()
-
getTraces
public HistoricHealthCheckEvent[] getTraces(Integer limit)
-
getHistoricStore
public NavigableSet<HistoricHealthCheckEvent> getHistoricStore()
-
-