Class IterativeTaskInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.IterativeTaskInformation
-
public class IterativeTaskInformation extends Object
- Author:
- Pavol Mederly
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IterativeTaskInformation()
IterativeTaskInformation(IterativeTaskInformationType value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addTo(IterativeTaskInformationType sum, IterativeTaskInformationType delta, boolean overrideCurrent)
static String
format(IterativeTaskInformationType i)
IterativeTaskInformationType
getAggregatedValue()
IterativeTaskInformationType
getDeltaValue()
List<String>
getLastFailures()
IterativeTaskInformationType
getStartValue()
void
recordOperationEnd(String objectName, String objectDisplayName, QName objectType, String objectOid, long started, Throwable exception)
void
recordOperationStart(String objectName, String objectDisplayName, QName objectType, String objectOid)
-
-
-
Field Detail
-
LAST_FAILURES_KEPT
public static final int LAST_FAILURES_KEPT
- See Also:
- Constant Field Values
-
startValue
protected final IterativeTaskInformationType startValue
-
lastSuccessObjectName
protected String lastSuccessObjectName
-
lastSuccessObjectDisplayName
protected String lastSuccessObjectDisplayName
-
lastSuccessObjectType
protected QName lastSuccessObjectType
-
lastSuccessObjectOid
protected String lastSuccessObjectOid
-
lastSuccessEndTimestamp
protected Date lastSuccessEndTimestamp
-
lastSuccessDuration
protected long lastSuccessDuration
-
totalSuccessDuration
protected long totalSuccessDuration
-
totalSuccessCount
protected int totalSuccessCount
-
lastFailureObjectName
protected String lastFailureObjectName
-
lastFailureObjectDisplayName
protected String lastFailureObjectDisplayName
-
lastFailureObjectType
protected QName lastFailureObjectType
-
lastFailureObjectOid
protected String lastFailureObjectOid
-
lastFailureEndTimestamp
protected Date lastFailureEndTimestamp
-
lastFailureDuration
protected long lastFailureDuration
-
totalFailureDuration
protected long totalFailureDuration
-
totalFailureCount
protected int totalFailureCount
-
lastFailureException
protected Throwable lastFailureException
-
lastFailureExceptionMessage
protected String lastFailureExceptionMessage
-
currentObjectName
protected String currentObjectName
-
currentObjectDisplayName
protected String currentObjectDisplayName
-
currentObjectType
protected QName currentObjectType
-
currentObjectOid
protected String currentObjectOid
-
currentObjectStartTimestamp
protected Date currentObjectStartTimestamp
-
lastFailures
protected org.apache.commons.collections.buffer.CircularFifoBuffer lastFailures
-
-
Constructor Detail
-
IterativeTaskInformation
public IterativeTaskInformation()
-
IterativeTaskInformation
public IterativeTaskInformation(IterativeTaskInformationType value)
-
-
Method Detail
-
getStartValue
public IterativeTaskInformationType getStartValue()
-
getDeltaValue
public IterativeTaskInformationType getDeltaValue()
-
getAggregatedValue
public IterativeTaskInformationType getAggregatedValue()
-
recordOperationEnd
public void recordOperationEnd(String objectName, String objectDisplayName, QName objectType, String objectOid, long started, Throwable exception)
-
recordOperationStart
public void recordOperationStart(String objectName, String objectDisplayName, QName objectType, String objectOid)
-
addTo
public static void addTo(@NotNull IterativeTaskInformationType sum, IterativeTaskInformationType delta, boolean overrideCurrent)
-
format
public static String format(IterativeTaskInformationType i)
-
-