Package io.sentry
Class SentryAppStartProfilingOptions
java.lang.Object
io.sentry.SentryAppStartProfilingOptions
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
@Internal
public final class SentryAppStartProfilingOptions
extends Object
implements JsonUnknown, JsonSerializable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Double
@Nullable String
int
@Nullable Double
boolean
boolean
boolean
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setProfileSampled
(boolean profileSampled) void
setProfileSampleRate
(@Nullable Double profileSampleRate) void
setProfilingEnabled
(boolean profilingEnabled) void
setProfilingTracesDirPath
(@Nullable String profilingTracesDirPath) void
setProfilingTracesHz
(int profilingTracesHz) void
setTraceSampled
(boolean traceSampled) void
setTraceSampleRate
(@Nullable Double traceSampleRate) void
setUnknown
(@Nullable Map<String, Object> unknown)
-
Constructor Details
-
SentryAppStartProfilingOptions
@VisibleForTesting public SentryAppStartProfilingOptions()
-
-
Method Details
-
setProfileSampled
public void setProfileSampled(boolean profileSampled) -
isProfileSampled
public boolean isProfileSampled() -
setProfileSampleRate
-
getProfileSampleRate
-
setTraceSampled
public void setTraceSampled(boolean traceSampled) -
isTraceSampled
public boolean isTraceSampled() -
setTraceSampleRate
-
getTraceSampleRate
-
setProfilingTracesDirPath
-
getProfilingTracesDirPath
-
setProfilingEnabled
public void setProfilingEnabled(boolean profilingEnabled) -
isProfilingEnabled
public boolean isProfilingEnabled() -
setProfilingTracesHz
public void setProfilingTracesHz(int profilingTracesHz) -
getProfilingTracesHz
public int getProfilingTracesHz() -
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-