Package com.evolveum.midpoint.prism.util
Interface PrismMonitor
-
- All Known Implementing Classes:
InternalMonitor
public interface PrismMonitor
Interface to plug in a monitoring code to prism. Implementation of this interface are called when selected important (usually expensive) operations take place in prism. This can be used for gathering stats, making assertions in the test code, etc.- Author:
- semancik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <O extends Objectable>
voidafterObjectClone(@NotNull PrismObject<O> orig, @Nullable PrismObject<O> clone)
void
afterObjectParsing(@Nullable PrismObject<?> object)
void
afterObjectSerialization(@NotNull PrismObject<?> item)
<O extends Objectable>
voidbeforeObjectClone(@NotNull PrismObject<O> orig)
void
beforeObjectParsing()
Beware! This may not cover all object parsing operations.void
beforeObjectSerialization(@NotNull PrismObject<?> item)
Beware! This may not cover all object serializations.<O extends Objectable>
voidrecordPrismObjectCompareCount(PrismObject<O> thisObject, Object thatObject)
-
-
-
Method Detail
-
recordPrismObjectCompareCount
<O extends Objectable> void recordPrismObjectCompareCount(PrismObject<O> thisObject, Object thatObject)
-
beforeObjectClone
<O extends Objectable> void beforeObjectClone(@NotNull @NotNull PrismObject<O> orig)
-
afterObjectClone
<O extends Objectable> void afterObjectClone(@NotNull @NotNull PrismObject<O> orig, @Nullable @Nullable PrismObject<O> clone)
-
beforeObjectSerialization
@Experimental void beforeObjectSerialization(@NotNull @NotNull PrismObject<?> item)
Beware! This may not cover all object serializations. Hopefully at least the majority.
-
afterObjectSerialization
@Experimental void afterObjectSerialization(@NotNull @NotNull PrismObject<?> item)
-
beforeObjectParsing
@Experimental void beforeObjectParsing()
Beware! This may not cover all object parsing operations. Hopefully at least the majority.
-
afterObjectParsing
@Experimental void afterObjectParsing(@Nullable @Nullable PrismObject<?> object)
-
-