Package Torello.Browser
Class Tracing.TraceConfig
- java.lang.Object
-
- Torello.Java.JSON.BaseType
-
- Torello.Browser.Tracing.TraceConfig
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Tracing
public static class Tracing.TraceConfig extends BaseType implements java.io.Serializable
[No Description Provided by Google]
- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Browser/Tracing.java
- Open New Browser-Tab: Torello/Browser/Tracing.java
File Size: 7,199 Bytes Line Count: 178 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field Boolean
enableArgumentFilter
Turns on argument filter.Boolean
enableSampling
Turns on JavaScript stack sampling.Boolean
enableSystrace
Turns on system tracing.String[]
excludedCategories
Excluded category filters.String[]
includedCategories
Included category filters.JsonObject
memoryDumpConfig
Configuration for memory dump triggers.String
recordMode
Controls how the trace buffer stores data.String[]
syntheticDelays
Configuration to synthesize the delays in tracing.
-
Constructor Summary
Constructors Constructor Description TraceConfig(String recordMode, Boolean enableSampling, Boolean enableSystrace, Boolean enableArgumentFilter, String[] includedCategories, String[] excludedCategories, String[] syntheticDelays, JsonObject memoryDumpConfig)
ConstructorTraceConfig(JsonObject jo)
JSON Object Constructor
-
Method Summary
Generate Array that Indicates which Parameter are Optional Modifier and Type Method boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
Checks whether'this'
equals an input Java-Object
int
hashCode()
Generates a Hash-Code for'this'
instance
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
recordMode
public final java.lang.String recordMode
Controls how the trace buffer stores data.
OPTIONAL
-
enableSampling
public final java.lang.Boolean enableSampling
Turns on JavaScript stack sampling.
OPTIONAL
-
enableSystrace
public final java.lang.Boolean enableSystrace
Turns on system tracing.
OPTIONAL
-
enableArgumentFilter
public final java.lang.Boolean enableArgumentFilter
Turns on argument filter.
OPTIONAL
-
includedCategories
public final java.lang.String[] includedCategories
Included category filters.
OPTIONAL
-
excludedCategories
public final java.lang.String[] excludedCategories
Excluded category filters.
OPTIONAL
-
syntheticDelays
public final java.lang.String[] syntheticDelays
Configuration to synthesize the delays in tracing.
OPTIONAL
-
memoryDumpConfig
public final JsonObject memoryDumpConfig
Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
OPTIONAL
-
-
Constructor Detail
-
TraceConfig
public TraceConfig(java.lang.String recordMode, java.lang.Boolean enableSampling, java.lang.Boolean enableSystrace, java.lang.Boolean enableArgumentFilter, java.lang.String[] includedCategories, java.lang.String[] excludedCategories, java.lang.String[] syntheticDelays, JsonObject memoryDumpConfig)
Constructor- Parameters:
recordMode
- Controls how the trace buffer stores data.
Acceptable Values: ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "echoToConsole"]
OPTIONALenableSampling
- Turns on JavaScript stack sampling.
OPTIONALenableSystrace
- Turns on system tracing.
OPTIONALenableArgumentFilter
- Turns on argument filter.
OPTIONALincludedCategories
- Included category filters.
OPTIONALexcludedCategories
- Excluded category filters.
OPTIONALsyntheticDelays
- Configuration to synthesize the delays in tracing.
OPTIONALmemoryDumpConfig
- Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
OPTIONAL
-
TraceConfig
public TraceConfig(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'TraceConfig'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
equals
public boolean equals(java.lang.Object other)
Checks whether'this'
equals an input Java-Object
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
if (other == null) return false; if (other.getClass() != this.getClass()) return false; TraceConfig o = (TraceConfig) other; return Objects.equals(this.recordMode, o.recordMode) && Objects.equals(this.enableSampling, o.enableSampling) && Objects.equals(this.enableSystrace, o.enableSystrace) && Objects.equals(this.enableArgumentFilter, o.enableArgumentFilter) && Arrays.deepEquals(this.includedCategories, o.includedCategories) && Arrays.deepEquals(this.excludedCategories, o.excludedCategories) && Arrays.deepEquals(this.syntheticDelays, o.syntheticDelays) && Objects.equals(this.memoryDumpConfig, o.memoryDumpConfig);
-
hashCode
public int hashCode()
Generates a Hash-Code for'this'
instance- Overrides:
hashCode
in classjava.lang.Object
- Code:
- Exact Method Body:
return Objects.hashCode(this.recordMode) + Objects.hashCode(this.enableSampling) + Objects.hashCode(this.enableSystrace) + Objects.hashCode(this.enableArgumentFilter) + Arrays.deepHashCode(this.includedCategories) + Arrays.deepHashCode(this.excludedCategories) + Arrays.deepHashCode(this.syntheticDelays) + this.memoryDumpConfig.hashCode();
-
-