Interface Tracer

All Known Implementing Classes:
FileTracer, MemoryTracer, PlainTracer, StartEndTracer

public interface Tracer
Interface implemented by those classes that must record and track events
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the tracking time
    void
    record(String name, Object val)
    Registers an entry record that must be tracked
    void
    Stops the tracking
  • Method Details

    • record

      void record(String name, Object val)
      Registers an entry record that must be tracked
      Parameters:
      name - The string that defines the entry
      val - The object to track
    • stop

      void stop()
      Stops the tracking
    • getTraceTime

      long getTraceTime()
      Returns the tracking time
      Returns:
      The tracking time