Package io.ebean.config
Class ProfilingConfig
java.lang.Object
io.ebean.config.ProfilingConfig
Configuration for transaction profiling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the directory profiling files are put into.int[]Return the specific set of profileIds to include in profiling.longReturn the minimum transaction execution to be included in profiling.longReturn the number of profiles to write to a single file.booleanReturn true if transaction profiling is enabled.booleanReturn true if verbose mode is used.voidloadSettings(PropertiesWrapper p, String name) Load setting from properties.voidsetDirectory(String directory) Set the directory profiling files are put into.voidsetEnabled(boolean enabled) Set to true to enable transaction profiling.voidsetIncludeProfileIds(int[] includeProfileIds) Set a specific set of profileIds to include in profiling.voidsetMinimumMicros(long minimumMicros) Set the minimum transaction execution to be included in profiling.voidsetProfilesPerFile(long profilesPerFile) Set the number of profiles to write to a single file.voidsetVerbose(boolean verbose) Set to true to use verbose mode.
-
Constructor Details
-
ProfilingConfig
public ProfilingConfig()
-
-
Method Details
-
isEnabled
Return true if transaction profiling is enabled. -
setEnabled
Set to true to enable transaction profiling. -
isVerbose
Return true if verbose mode is used. -
setVerbose
Set to true to use verbose mode. -
getMinimumMicros
Return the minimum transaction execution to be included in profiling. -
setMinimumMicros
Set the minimum transaction execution to be included in profiling. -
getIncludeProfileIds
Return the specific set of profileIds to include in profiling. When not set all transactions with profileIds are included. -
setIncludeProfileIds
Set a specific set of profileIds to include in profiling. When not set all transactions with profileIds are included. -
getProfilesPerFile
Return the number of profiles to write to a single file. -
setProfilesPerFile
Set the number of profiles to write to a single file. -
getDirectory
Return the directory profiling files are put into. -
setDirectory
Set the directory profiling files are put into. -
loadSettings
Load setting from properties.
-