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: unlike
ActivityProgressInformation this structure describes only a single activity.
It is expected to be wrapped inside TreeNode structure.- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) static @NotNull ActivityPerformanceInformationforCoordinator(@NotNull ActivityPath path, @NotNull Collection<ActivityStateType> workerStates) static @NotNull ActivityPerformanceInformationforRegularActivity(@NotNull ActivityPath path, @Nullable ActivityItemProcessingStatisticsType itemStats, @Nullable ActivityProgressType activityProgress) static @NotNull ActivityPerformanceInformationforRegularActivity(@NotNull ActivityPath path, @Nullable ActivityStateType state) intintdoubleintbooleannotApplicable(@NotNull ActivityPath path) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
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
-
getActivityPath
-
isApplicable
public boolean isApplicable() -
getItemsProcessed
public int getItemsProcessed() -
getProgress
public int getProgress() -
getWallClockTime
-
getErrors
public int getErrors() -
getProcessingTime
public double getProcessingTime() -
getAverageTime
-
getAverageWallClockTime
-
getThroughput
-
getEarliestStartTime
-
toString
-
toHumanReadableString
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-