Package com.uc4.api

Class TraceOptions

  • Direct Known Subclasses:
    CPTraceOptions, WPTraceOptions

    public class TraceOptions
    extends java.lang.Object
    Base class for Trace Options (can be used by Agent and Server to set/get trace options)
    • Constructor Detail

      • TraceOptions

        public TraceOptions()
    • Method Detail

      • setTraceFlags

        public void setTraceFlags​(TraceOptions.TraceFlag[] flags)
        Parameters:
        flags - set the trace flags
      • getMaxTraceSize

        public int getMaxTraceSize()
        get the maximum trace size in MB
        Returns:
        int
      • setMaxTraceSize

        public void setMaxTraceSize​(int maxTraceSize)
        Parameters:
        maxTraceSize - set max trace size (MB)
      • getTraceType

        public TraceOptions.TraceType getTraceType()
        get the trace type (file or memory)
        Returns:
        String
      • setTraceType

        public void setTraceType​(TraceOptions.TraceType traceType)
        Parameters:
        traceType - set trace type to MEMORY or FILE
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object