Class ActivityWorkersInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.ActivityWorkersInformation
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class ActivityWorkersInformation extends Object implements DebugDumpable, Serializable
State of the worker tasks (in the broad sense - i.e. tasks that do the real execution) in an activity: - how many workers are there in total, - how many workers (of them) are executing, - how many workers (of executing ones) have been stalled, - on what cluster nodes, - if stalled, then since when.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ActivityWorkersInformation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump(int indent)
static ActivityWorkersInformation
empty()
@Nullable XMLGregorianCalendar
getCompletelyStalledSince()
int
getWorkersCreated()
int
getWorkersExecuting()
int
getWorkersStalled()
@NotNull String
toHumanReadableString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
empty
public static ActivityWorkersInformation empty()
-
getWorkersCreated
public int getWorkersCreated()
-
getWorkersExecuting
public int getWorkersExecuting()
-
getWorkersStalled
public int getWorkersStalled()
-
getCompletelyStalledSince
@Nullable public @Nullable XMLGregorianCalendar getCompletelyStalledSince()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
toHumanReadableString
@NotNull public @NotNull String toHumanReadableString()
-
-