Class SynchronizationInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.SynchronizationInformation
-
public class SynchronizationInformation extends Object
Holds aggregated synchronization information, typically for a given task. Thread safety: Just like EnvironmentalPerformanceInformation, instances of this class may be accessed from more than one thread at once. Updates are invoked in the context of the thread executing the task. Queries are invoked either from this thread, or from some observer (task manager or GUI thread). TODO
-
-
Constructor Summary
Constructors Constructor Description SynchronizationInformation(SynchronizationInformationType value, @NotNull PrismContext prismContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addTo(SynchronizationInformationType sum, @Nullable SynchronizationInformationType delta)
static String
format(@Nullable SynchronizationInformationType source)
SynchronizationInformationType
getValueCopy()
void
onItemProcessingStart(@NotNull String processingIdentifier, @Nullable SynchronizationSituationType beforeOperation)
void
onSynchronizationExclusion(@Nullable String processingIdentifier, @NotNull SynchronizationExclusionReasonType exclusionReason)
void
onSynchronizationSituationChange(@Nullable String processingIdentifier, @Nullable String shadowOid, @Nullable SynchronizationSituationType situation)
void
onSynchronizationStart(@Nullable String processingIdentifier, @Nullable String shadowOid, @Nullable SynchronizationSituationType situation)
void
onSyncItemProcessingEnd(@NotNull String processingIdentifier, @NotNull QualifiedItemProcessingOutcomeType outcome)
-
-
-
Constructor Detail
-
SynchronizationInformation
public SynchronizationInformation(SynchronizationInformationType value, @NotNull @NotNull PrismContext prismContext)
-
-
Method Detail
-
getValueCopy
public SynchronizationInformationType getValueCopy()
- Returns:
- Start value plus counters gathered during existence of this object (i.e. this task run).
-
onItemProcessingStart
public void onItemProcessingStart(@NotNull @NotNull String processingIdentifier, @Nullable @Nullable SynchronizationSituationType beforeOperation)
-
onSynchronizationStart
public void onSynchronizationStart(@Nullable @Nullable String processingIdentifier, @Nullable @Nullable String shadowOid, @Nullable @Nullable SynchronizationSituationType situation)
-
onSynchronizationExclusion
public void onSynchronizationExclusion(@Nullable @Nullable String processingIdentifier, @NotNull @NotNull SynchronizationExclusionReasonType exclusionReason)
-
onSynchronizationSituationChange
public void onSynchronizationSituationChange(@Nullable @Nullable String processingIdentifier, @Nullable @Nullable String shadowOid, @Nullable @Nullable SynchronizationSituationType situation)
-
onSyncItemProcessingEnd
public void onSyncItemProcessingEnd(@NotNull @NotNull String processingIdentifier, @NotNull @NotNull QualifiedItemProcessingOutcomeType outcome)
-
addTo
public static void addTo(SynchronizationInformationType sum, @Nullable @Nullable SynchronizationInformationType delta)
-
format
public static String format(@Nullable @Nullable SynchronizationInformationType source)
-
-