Package io.jans.configapi.service.status
Class StatusCheckerTimer
- java.lang.Object
-
- io.jans.configapi.service.status.StatusCheckerTimer
-
@ApplicationScoped @Named public class StatusCheckerTimer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROGRAM_FACTER
static String
PROGRAM_SHOW_VERSION
static String
SERVICE_STATUS
-
Constructor Summary
Constructors Constructor Description StatusCheckerTimer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create()
com.fasterxml.jackson.databind.JsonNode
getAppVersionData(String artifact)
io.jans.configapi.model.status.StatsData
getServerStatsData()
Map<String,String>
getServiceStatus(String serviceName)
void
initTimer()
void
process(StatusCheckerTimerEvent statusCheckerTimerEvent)
-
-
-
Field Detail
-
PROGRAM_FACTER
public static final String PROGRAM_FACTER
- See Also:
- Constant Field Values
-
PROGRAM_SHOW_VERSION
public static final String PROGRAM_SHOW_VERSION
- See Also:
- Constant Field Values
-
SERVICE_STATUS
public static final String SERVICE_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@PostConstruct public void create()
-
initTimer
public void initTimer()
-
process
@Asynchronous public void process(@Observes StatusCheckerTimerEvent statusCheckerTimerEvent)
-
getServerStatsData
public io.jans.configapi.model.status.StatsData getServerStatsData()
-
getAppVersionData
public com.fasterxml.jackson.databind.JsonNode getAppVersionData(String artifact)
-
-