Interface Tracer

  • public interface Tracer
    • Method Detail

      • storeTrace

        void storeTrace​(Task task,
                        OperationResult result,
                        @Nullable OperationResult parentResult)
        Stores trace to persistent storage (usually a file in "trace" directory).
        task - Task containing the context information necessary e.g. to derive name of the trace file.
        result - Result that is to be serialized and stored.
        parentResult - Parent result where this operation should be recorded (if any).
      • setTemplateParametersCustomizer

        void setTemplateParametersCustomizer​(@NotNull
                                             @NotNull Consumer<Map<String,​String>> customizer)
        Sets customizer of tracer template parameters, replacing any previous one. This allows to inject custom parameters, for instance during test runs.