Class ActivityPerformanceInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.ActivityPerformanceInformation
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
@Experimental public class ActivityPerformanceInformation extends Object implements DebugDumpable, Serializable
Extract of the most relevant performance information about an activity. Note: unlikeActivityProgressInformation
this structure describes only a single activity. It is expected to be wrapped insideTreeNode
structure.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
-
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
-
forRegularActivity
@NotNull public static @NotNull ActivityPerformanceInformation forRegularActivity(@NotNull @NotNull ActivityPath path, @Nullable @Nullable ActivityStateType state)
-
forRegularActivity
@NotNull public static @NotNull ActivityPerformanceInformation forRegularActivity(@NotNull @NotNull ActivityPath path, @Nullable @Nullable ActivityItemProcessingStatisticsType itemStats, @Nullable @Nullable ActivityProgressType activityProgress)
-
forCoordinator
@NotNull public static @NotNull ActivityPerformanceInformation forCoordinator(@NotNull @NotNull ActivityPath path, @NotNull @NotNull Collection<ActivityStateType> workerStates)
-
notApplicable
public static ActivityPerformanceInformation notApplicable(@NotNull @NotNull ActivityPath path)
-
getActivityPath
public ActivityPath getActivityPath()
-
isApplicable
public boolean isApplicable()
-
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
-
-