public class ProbeInfoImpl extends Object implements ProbeMBean, ProbeInfo, Serializable
Modifier and Type | Field and 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 |
Modifier | Constructor and Description |
---|---|
protected |
ProbeInfoImpl(ProbeDescriptor descriptor) |
Modifier and Type | Method and 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) |
protected final ProbeDescriptor descriptor
protected boolean isEnabled
protected String shortcutName
protected String qualifiedName
protected ProbeStatus lastStatus
protected long runnedCount
protected Date lastRunnedDate
protected long lastDuration
protected long successCount
protected Date lastSucceedDate
protected ProbeStatus lastSuccessStatus
protected long failureCount
protected Date lastFailureDate
protected ProbeStatus lastFailureStatus
protected ProbeInfoImpl(ProbeDescriptor descriptor)
public long getFailedCount()
getFailedCount
in interface ProbeInfo
getFailedCount
in interface ProbeMBean
public long getLastDuration()
getLastDuration
in interface ProbeInfo
getLastDuration
in interface ProbeMBean
public ProbeStatus getLastFailureStatus()
getLastFailureStatus
in interface ProbeInfo
getLastFailureStatus
in interface ProbeMBean
public Date getLastFailedDate()
getLastFailedDate
in interface ProbeInfo
getLastFailedDate
in interface ProbeMBean
public Date getLastRunnedDate()
getLastRunnedDate
in interface ProbeInfo
getLastRunnedDate
in interface ProbeMBean
public Date getLastSucceedDate()
getLastSucceedDate
in interface ProbeInfo
getLastSucceedDate
in interface ProbeMBean
public long getRunnedCount()
getRunnedCount
in interface ProbeInfo
getRunnedCount
in interface ProbeMBean
public long getSucceedCount()
getSucceedCount
in interface ProbeInfo
getSucceedCount
in interface ProbeMBean
public void disable()
disable
in interface ProbeMBean
public void enable()
enable
in interface ProbeMBean
public boolean isEnabled()
isEnabled
in interface ProbeInfo
isEnabled
in interface ProbeMBean
public boolean isInError()
isInError
in interface ProbeInfo
isInError
in interface ProbeMBean
public ProbeStatus getStatus()
public String getShortcutName()
getShortcutName
in interface ProbeInfo
public ProbeDescriptor getDescriptor()
getDescriptor
in interface ProbeInfo
public String getQualifiedName()
getQualifiedName
in interface ProbeInfo
public void setQualifiedName(String qualifiedName)
public void setShortcutName(String shortcutName)
Copyright © 2018 Nuxeo. All rights reserved.