Class Tracing.TraceConfig

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • recordMode

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String recordMode
        Controls how the trace buffer stores data. The default is recordUntilFull.
        OPTIONALEXPERIMENTAL

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'recordMode$$':

        📎 Tracing$$TraceConfig$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Tracing.TraceConfig.enumStrList("recordMode");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • traceBufferSizeInKb

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Number traceBufferSizeInKb
        Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.
        OPTIONALEXPERIMENTAL
    • Constructor Detail

      • TraceConfig

        🡅  🡇     🗕  🗗  🗖
        public TraceConfig​(ReadOnlyList<java.lang.Boolean> isPresent,
                           java.lang.String recordMode,
                           java.lang.Number traceBufferSizeInKb,
                           java.lang.Boolean enableSampling,
                           java.lang.Boolean enableSystrace,
                           java.lang.Boolean enableArgumentFilter,
                           java.lang.String[] includedCategories,
                           java.lang.String[] excludedCategories,
                           java.lang.String[] syntheticDelays,
                           JsonValue memoryDumpConfig)
        Constructor. Please review this class' fields for documentation.