public class ProfilingConfig extends Object
Constructor and Description |
---|
ProfilingConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getDirectory()
Return the directory profiling files are put into.
|
int[] |
getIncludeProfileIds()
Return the specific set of profileIds to include in profiling.
|
long |
getMinimumMicros()
Return the minimum transaction execution to be included in profiling.
|
long |
getProfilesPerFile()
Return the number of profiles to write to a single file.
|
boolean |
isEnabled()
Return true if transaction profiling is enabled.
|
boolean |
isVerbose()
Return true if verbose mode is used.
|
void |
loadSettings(PropertiesWrapper p,
String name)
Load setting from properties.
|
void |
setDirectory(String directory)
Set the directory profiling files are put into.
|
void |
setEnabled(boolean enabled)
Set to true to enable transaction profiling.
|
void |
setIncludeProfileIds(int[] includeProfileIds)
Set a specific set of profileIds to include in profiling.
|
void |
setMinimumMicros(long minimumMicros)
Set the minimum transaction execution to be included in profiling.
|
void |
setProfilesPerFile(long profilesPerFile)
Set the number of profiles to write to a single file.
|
void |
setVerbose(boolean verbose)
Set to true to use verbose mode.
|
public ProfilingConfig()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public long getMinimumMicros()
public void setMinimumMicros(long minimumMicros)
public int[] getIncludeProfileIds()
public void setIncludeProfileIds(int[] includeProfileIds)
public long getProfilesPerFile()
public void setProfilesPerFile(long profilesPerFile)
public String getDirectory()
public void setDirectory(String directory)
public void loadSettings(PropertiesWrapper p, String name)
Copyright © 2019. All rights reserved.