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
Modifier and TypeMethodDescription<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
Beware!void
beforeObjectSerialization
(@NotNull PrismObject<?> item) Beware!<O extends Objectable>
voidrecordPrismObjectCompareCount
(PrismObject<O> thisObject, Object thatObject)
-
Method Details
-
recordPrismObjectCompareCount
<O extends Objectable> void recordPrismObjectCompareCount(PrismObject<O> thisObject, Object thatObject) -
beforeObjectClone
-
afterObjectClone
<O extends Objectable> void afterObjectClone(@NotNull @NotNull PrismObject<O> orig, @Nullable @Nullable PrismObject<O> clone) -
beforeObjectSerialization
Beware! This may not cover all object serializations. Hopefully at least the majority. -
afterObjectSerialization
-
beforeObjectParsing
Beware! This may not cover all object parsing operations. Hopefully at least the majority. -
afterObjectParsing
-