Class PerformanceLogRecord


  • public class PerformanceLogRecord
    extends Object
    Class to register a performance log record.
    Since:
    5.10
    • Constructor Detail

      • PerformanceLogRecord

        public PerformanceLogRecord​(String name,
                                    long durationMs)
        Create a new performance log record for an event.
        Parameters:
        name - name of the event.
        durationMs - duration in milliseconds of the event.
    • Method Detail

      • getName

        public String getName()
        Get the name of the recorded event.
        Returns:
        name of the recorded event.
      • getDurationMs

        public long getDurationMs()
        Get the duration in milliseconds of the recorded event.
        Returns:
        duration in milliseconds of the recorded event.