Package com.uc4.api
Class TraceOptions
- java.lang.Object
-
- com.uc4.api.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TraceOptions.TraceFlag
Class used to represent a AE trace flag.static class
TraceOptions.TraceType
Enumeration for Trace types
-
Field Summary
Fields Modifier and Type Field Description protected TraceOptions.TraceFlag[]
flags
protected int
maxTraceSize
protected TraceOptions.TraceType
traceType
-
Constructor Summary
Constructors Constructor Description TraceOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getMaxTraceSize()
get the maximum trace size in MBTraceOptions.TraceFlag[]
getTraceFlags()
TraceOptions.TraceType
getTraceType()
get the trace type (file or memory)int
hashCode()
void
setMaxTraceSize(int maxTraceSize)
void
setTraceFlags(TraceOptions.TraceFlag[] flags)
void
setTraceType(TraceOptions.TraceType traceType)
-
-
-
Field Detail
-
flags
protected TraceOptions.TraceFlag[] flags
-
maxTraceSize
protected int maxTraceSize
-
traceType
protected TraceOptions.TraceType traceType
-
-
Method Detail
-
getTraceFlags
public TraceOptions.TraceFlag[] getTraceFlags()
- Returns:
- the trace flags
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-