Class TaskPartPerformanceInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.TaskPartPerformanceInformation
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
@Experimental public class TaskPartPerformanceInformation extends Object implements DebugDumpable, Serializable
Extract of the most relevant performance information about a task part.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump(int indent)
static @NotNull TaskPartPerformanceInformation
forCurrentPart(OperationStatsType operationStats, StructuredTaskProgressType structuredProgress)
static @NotNull TaskPartPerformanceInformation
forPart(@NotNull IterativeTaskPartItemsProcessingInformationType info, StructuredTaskProgressType structuredProgress)
Double
getAverageTime()
Double
getAverageWallClockTime()
XMLGregorianCalendar
getEarliestStartTime()
int
getErrors()
int
getItemsProcessed()
String
getPartUri()
double
getProcessingTime()
int
getProgress()
Double
getThroughput()
Long
getWallClockTime()
String
toHumanReadableString()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
forPart
@NotNull public static @NotNull TaskPartPerformanceInformation forPart(@NotNull @NotNull IterativeTaskPartItemsProcessingInformationType info, StructuredTaskProgressType structuredProgress)
-
forCurrentPart
@NotNull public static @NotNull TaskPartPerformanceInformation forCurrentPart(OperationStatsType operationStats, StructuredTaskProgressType structuredProgress)
-
getPartUri
public String getPartUri()
-
getItemsProcessed
public int getItemsProcessed()
-
getProgress
public int getProgress()
-
getWallClockTime
public Long getWallClockTime()
-
getErrors
public int getErrors()
-
getProcessingTime
public double getProcessingTime()
-
getAverageTime
public Double getAverageTime()
-
getAverageWallClockTime
public Double getAverageWallClockTime()
-
getThroughput
public Double getThroughput()
-
getEarliestStartTime
public XMLGregorianCalendar getEarliestStartTime()
-
toHumanReadableString
public String toHumanReadableString()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-