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 classClass used to represent a AE trace flag.static enumEnumeration for Trace types -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TraceOptions.TraceFlag[]protected intprotected TraceOptions.TraceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintget the maximum trace size in MBget the trace type (file or memory)inthashCode()voidsetMaxTraceSize(int maxTraceSize) voidsetTraceFlags(TraceOptions.TraceFlag[] flags) voidsetTraceType(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
-