Package com.uc4.api
Class TraceOptions
java.lang.Object
com.uc4.api.TraceOptions
- Direct Known Subclasses:
CPTraceOptions
,WPTraceOptions
Base class for Trace Options (can be used by Agent and Server to set/get trace options)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Class used to represent a AE trace flag.static enum
Enumeration for Trace types -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TraceOptions.TraceFlag[]
protected int
protected TraceOptions.TraceType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
get the maximum trace size in MBget the trace type (file or memory)int
hashCode()
void
setMaxTraceSize
(int maxTraceSize) void
setTraceFlags
(TraceOptions.TraceFlag[] flags) void
setTraceType
(TraceOptions.TraceType traceType)
-
Field Details
-
flags
-
maxTraceSize
protected int maxTraceSize -
traceType
-
-
Constructor Details
-
TraceOptions
public TraceOptions()
-
-
Method Details
-
getTraceFlags
- Returns:
- the trace flags
-
setTraceFlags
- 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
get the trace type (file or memory)- Returns:
- String
-
setTraceType
- Parameters:
traceType
- set trace type to MEMORY or FILE
-
hashCode
public int hashCode() -
equals
-