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 ActivityPerformanceInformation
forCoordinator
(@NotNull ActivityPath path, @NotNull Collection<ActivityStateType> workerStates) static @NotNull ActivityPerformanceInformation
forRegularActivity
(@NotNull ActivityPath path, @Nullable ActivityItemProcessingStatisticsType itemStats, @Nullable ActivityProgressType activityProgress) static @NotNull ActivityPerformanceInformation
forRegularActivity
(@NotNull ActivityPath path, @Nullable ActivityStateType state) int
int
double
int
boolean
notApplicable
(@NotNull ActivityPath path) 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 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:
debugDump
in interfaceDebugDumpable
-