Class RecordingSettings


  • public final class RecordingSettings
    extends Object
    A settings data-class for a Recording instance
    • Constructor Detail

      • RecordingSettings

        public RecordingSettings​(long startTimestamp,
                                 boolean initializeJDKTypes)
        Parameters:
        startTimestamp - the recording start timestamp in epoch nanoseconds (nanoseconds since 1970-01-01)
        initializeJDKTypes - should the Types.JDK types be initialized
      • RecordingSettings

        public RecordingSettings​(boolean initializeJDKTypes)
        Recording will use current time as its start timestamp
        Parameters:
        initializeJDKTypes - should the Types.JDK types be initialized
      • RecordingSettings

        public RecordingSettings​(long startTimestamp)
        Recording will initialize Types.JDK types.
        Parameters:
        startTimestamp - the recording start timestamp in epoch nanoseconds (nanoseconds since 1970-01-01)
      • RecordingSettings

        public RecordingSettings()
        Recording will use current time as its start timestamp and will initialize Types.JDK types.
    • Method Detail

      • getStartTimestamp

        public long getStartTimestamp()
        Returns:
        recording timestamp in epoch nanoseconds (nanoseconds since 1970-01-01)
      • shouldInitializeJDKTypes

        public boolean shouldInitializeJDKTypes()
        Returns:
        true if Types.JDK types are to be initialized