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 Detail

      • recordPrismObjectCompareCount

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

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

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

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