Package io.vertigo.core.daemon
Interface DaemonStat
-
public interface DaemonStat
Some execution stats about registered daemons.- Author:
- pchretien
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DaemonStat.Status
Daemon execution status.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCount()
String
getDaemonName()
int
getDaemonPeriodInSecond()
long
getFailures()
DaemonStat.Status
getStatus()
long
getSuccesses()
boolean
isLastExecSuccess()
-
-
-
Method Detail
-
getDaemonName
String getDaemonName()
- Returns:
- the daemon name
-
getDaemonPeriodInSecond
int getDaemonPeriodInSecond()
- Returns:
- the demon period
-
getCount
long getCount()
- Returns:
- the number of executions since the daemon started
-
getSuccesses
long getSuccesses()
- Returns:
- the number of successes since the daemon started
-
getFailures
long getFailures()
- Returns:
- the number of failures since the daemon started
-
getStatus
DaemonStat.Status getStatus()
- Returns:
- the current status
-
isLastExecSuccess
boolean isLastExecSuccess()
- Returns:
- if last exec was a success
-
-