Interface PrismMonitor

  • All Known Implementing Classes:

    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.
    • Method Detail

      • recordPrismObjectCompareCount

        <O extends Objectable> void recordPrismObjectCompareCount​(PrismObject<O> thisObject,
                                                                  Object thatObject)
      • beforeObjectClone

        <O extends Objectable> void beforeObjectClone​(@NotNull
                                                      @NotNull PrismObject<O> orig)
      • beforeObjectSerialization

        void beforeObjectSerialization​(@NotNull
                                       @NotNull PrismObject<?> item)
        Beware! This may not cover all object serializations. Hopefully at least the majority.
      • beforeObjectParsing

        void beforeObjectParsing()
        Beware! This may not cover all object parsing operations. Hopefully at least the majority.