Class ProbeInfoImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.management.probes.ProbeInfoImpl
-
- All Implemented Interfaces:
Serializable
,ProbeInfo
,ProbeMBean
public class ProbeInfoImpl extends Object implements ProbeMBean, ProbeInfo, Serializable
- Since:
- 5.4
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ProbeDescriptor
descriptor
protected long
failureCount
protected boolean
isEnabled
protected long
lastDuration
protected Date
lastFailureDate
protected ProbeStatus
lastFailureStatus
protected Date
lastRunnedDate
protected ProbeStatus
lastStatus
protected Date
lastSucceedDate
protected ProbeStatus
lastSuccessStatus
protected String
qualifiedName
protected long
runnedCount
protected String
shortcutName
protected long
successCount
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProbeInfoImpl(ProbeDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
void
enable()
ProbeDescriptor
getDescriptor()
long
getFailedCount()
long
getLastDuration()
Date
getLastFailedDate()
ProbeStatus
getLastFailureStatus()
Date
getLastRunnedDate()
Date
getLastSucceedDate()
String
getQualifiedName()
long
getRunnedCount()
String
getShortcutName()
ProbeStatus
getStatus()
long
getSucceedCount()
boolean
isEnabled()
boolean
isInError()
void
setQualifiedName(String qualifiedName)
void
setShortcutName(String shortcutName)
String
toString()
-
-
-
Field Detail
-
descriptor
protected final ProbeDescriptor descriptor
-
isEnabled
protected boolean isEnabled
-
shortcutName
protected String shortcutName
-
qualifiedName
protected String qualifiedName
-
lastStatus
protected ProbeStatus lastStatus
-
runnedCount
protected long runnedCount
-
lastRunnedDate
protected Date lastRunnedDate
-
lastDuration
protected long lastDuration
-
successCount
protected long successCount
-
lastSucceedDate
protected Date lastSucceedDate
-
lastSuccessStatus
protected ProbeStatus lastSuccessStatus
-
failureCount
protected long failureCount
-
lastFailureDate
protected Date lastFailureDate
-
lastFailureStatus
protected ProbeStatus lastFailureStatus
-
-
Constructor Detail
-
ProbeInfoImpl
protected ProbeInfoImpl(ProbeDescriptor descriptor)
-
-
Method Detail
-
getFailedCount
public long getFailedCount()
- Specified by:
getFailedCount
in interfaceProbeInfo
- Specified by:
getFailedCount
in interfaceProbeMBean
-
getLastDuration
public long getLastDuration()
- Specified by:
getLastDuration
in interfaceProbeInfo
- Specified by:
getLastDuration
in interfaceProbeMBean
-
getLastFailureStatus
public ProbeStatus getLastFailureStatus()
- Specified by:
getLastFailureStatus
in interfaceProbeInfo
- Specified by:
getLastFailureStatus
in interfaceProbeMBean
-
getLastFailedDate
public Date getLastFailedDate()
- Specified by:
getLastFailedDate
in interfaceProbeInfo
- Specified by:
getLastFailedDate
in interfaceProbeMBean
-
getLastRunnedDate
public Date getLastRunnedDate()
- Specified by:
getLastRunnedDate
in interfaceProbeInfo
- Specified by:
getLastRunnedDate
in interfaceProbeMBean
-
getLastSucceedDate
public Date getLastSucceedDate()
- Specified by:
getLastSucceedDate
in interfaceProbeInfo
- Specified by:
getLastSucceedDate
in interfaceProbeMBean
-
getRunnedCount
public long getRunnedCount()
- Specified by:
getRunnedCount
in interfaceProbeInfo
- Specified by:
getRunnedCount
in interfaceProbeMBean
-
getSucceedCount
public long getSucceedCount()
- Specified by:
getSucceedCount
in interfaceProbeInfo
- Specified by:
getSucceedCount
in interfaceProbeMBean
-
disable
public void disable()
- Specified by:
disable
in interfaceProbeMBean
-
enable
public void enable()
- Specified by:
enable
in interfaceProbeMBean
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceProbeInfo
- Specified by:
isEnabled
in interfaceProbeMBean
-
isInError
public boolean isInError()
- Specified by:
isInError
in interfaceProbeInfo
- Specified by:
isInError
in interfaceProbeMBean
-
getStatus
public ProbeStatus getStatus()
-
getShortcutName
public String getShortcutName()
- Specified by:
getShortcutName
in interfaceProbeInfo
-
getDescriptor
public ProbeDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceProbeInfo
-
getQualifiedName
public String getQualifiedName()
- Specified by:
getQualifiedName
in interfaceProbeInfo
-
setQualifiedName
public void setQualifiedName(String qualifiedName)
-
setShortcutName
public void setShortcutName(String shortcutName)
-
-