Interface StatisticsCollector


  • public interface StatisticsCollector
    An object that receives various statistics and state information, processes them and provides them back to appropriate clients. A bit experimental. We need to think out what kind of statistics and state information we'd like to collect. Currently this functionality is bound to Task interface. However, this may change in the future.
    Author:
    Pavol Mederly
    • Method Detail

      • recordState

        void recordState​(String message)
        Records various kinds of operational information.
      • recordProvisioningOperation

        void recordProvisioningOperation​(String resourceOid,
                                         String resourceName,
                                         QName objectClassName,
                                         ProvisioningOperation operation,
                                         boolean success,
                                         int count,
                                         long duration)
      • recordNotificationOperation

        void recordNotificationOperation​(String transportName,
                                         boolean success,
                                         long duration)
      • recordMappingOperation

        void recordMappingOperation​(String objectOid,
                                    String objectName,
                                    String objectTypeName,
                                    String mappingName,
                                    long duration)
      • recordIterativeOperationStart

        void recordIterativeOperationStart​(String objectName,
                                           String objectDisplayName,
                                           QName objectType,
                                           String objectOid)
        Records information about iterative processing of objects.
      • recordIterativeOperationStart

        void recordIterativeOperationStart​(ShadowType shadow)
      • recordIterativeOperationEnd

        void recordIterativeOperationEnd​(String objectName,
                                         String objectDisplayName,
                                         QName objectType,
                                         String objectOid,
                                         long started,
                                         Throwable exception)
      • recordIterativeOperationEnd

        void recordIterativeOperationEnd​(ShadowType shadow,
                                         long started,
                                         Throwable exception)
      • recordSynchronizationOperationStart

        void recordSynchronizationOperationStart​(String objectName,
                                                 String objectDisplayName,
                                                 QName objectType,
                                                 String objectOid)
        Records information about synchronization events.
      • recordObjectActionExecuted

        void recordObjectActionExecuted​(String objectName,
                                        String objectDisplayName,
                                        QName objectType,
                                        String objectOid,
                                        ChangeType changeType,
                                        String channel,
                                        Throwable exception)
        Records information about repository (focal) events.
      • markObjectActionExecutedBoundary

        void markObjectActionExecutedBoundary()
      • getLastFailures

        @NotNull
        List<String> getLastFailures()