public class ProfilerParameters
extends java.lang.Object
implements org.json.simple.JSONStreamAware
| Constructor and Description |
|---|
ProfilerParameters(java.lang.Long profileId,
long samplePeriodInMillis,
long durationInMillis,
boolean onlyRunnableThreads,
boolean onlyRequestThreads,
boolean profileAgentCode,
java.lang.String keyTransaction,
java.lang.String appName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppName() |
java.lang.Long |
getDurationInMillis() |
java.lang.String |
getKeyTransaction() |
java.lang.Long |
getProfileId() |
java.lang.String |
getProfilerFormat() |
java.lang.Long |
getSamplePeriodInMillis() |
int |
hashCode() |
boolean |
isOnlyRequestThreads() |
boolean |
isProfileAgentThreads() |
boolean |
isProfileInstrumentation() |
boolean |
isRunnablesOnly() |
ProfilerParameters |
setParameterMap(java.util.Map<?,?> parameterMap) |
ProfilerParameters |
setProfileInstrumentation(java.lang.Boolean includeTransactions) |
ProfilerParameters |
setProfilerFormat(java.lang.String profileFormat) |
void |
writeJSONString(java.io.Writer out) |
public ProfilerParameters(java.lang.Long profileId,
long samplePeriodInMillis,
long durationInMillis,
boolean onlyRunnableThreads,
boolean onlyRequestThreads,
boolean profileAgentCode,
java.lang.String keyTransaction,
java.lang.String appName)
public java.lang.Long getProfileId()
public java.lang.Long getSamplePeriodInMillis()
public java.lang.Long getDurationInMillis()
public boolean isRunnablesOnly()
public boolean isOnlyRequestThreads()
public boolean isProfileAgentThreads()
public boolean isProfileInstrumentation()
public ProfilerParameters setProfileInstrumentation(java.lang.Boolean includeTransactions)
public java.lang.String getKeyTransaction()
public java.lang.String getAppName()
public java.lang.String getProfilerFormat()
public ProfilerParameters setProfilerFormat(java.lang.String profileFormat)
public ProfilerParameters setParameterMap(java.util.Map<?,?> parameterMap)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void writeJSONString(java.io.Writer out)
throws java.io.IOException
writeJSONString in interface org.json.simple.JSONStreamAwarejava.io.IOException