Class DebugOverflowSettings
- All Implemented Interfaces:
- HasHandlers
debugging overflow.  The general approach is that we track
 a maximum of maxTrackedOverflows per
 canvas across a period of trackingDuration,
 and if a canvas overflows more than selfOverflowThreshold times not due to any child (checked by looking at the visible rect of each child, then we log a message from the affected
 canvas reporting the threshold was exceeded.
- 
Field SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionLogging level to use when reporting that theoverflow thresholdwas exceeded.How often to log theoverflow thresholdbeing crossed, expressed in milliseconds.intMaximum number of overflows to track for each canvas when debugging overflow.static DebugOverflowSettingsgetOrCreateRef(JavaScriptObject jsObj) intAt what threshold should excessive self-overflows be reported? This value must not exceedmaxTrackedOverflows.intMaximum time interval past which overflow data will be discarded when debugging overflow, measured in milliseconds.setLoggingLevel(LogPriority loggingLevel) Logging level to use when reporting that theoverflow thresholdwas exceeded.setLoggingTimeout(Integer loggingTimeout) How often to log theoverflow thresholdbeing crossed, expressed in milliseconds.setMaxTrackedOverflows(int maxTrackedOverflows) Maximum number of overflows to track for each canvas when debugging overflow.setSelfOverflowThreshold(int selfOverflowThreshold) At what threshold should excessive self-overflows be reported? This value must not exceedmaxTrackedOverflows.setTrackingDuration(int trackingDuration) Maximum time interval past which overflow data will be discarded when debugging overflow, measured in milliseconds.Methods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
- 
Constructor Details- 
DebugOverflowSettingspublic DebugOverflowSettings()
- 
DebugOverflowSettings
 
- 
- 
Method Details- 
getOrCreateRef
- 
setLoggingLevelLogging level to use when reporting that theoverflow thresholdwas exceeded.- Parameters:
- loggingLevel- New loggingLevel value. Default value is Log.WARN
- Returns:
- DebugOverflowSettingsinstance, for chaining setter calls
 
- 
getLoggingLevelLogging level to use when reporting that theoverflow thresholdwas exceeded.- Returns:
- Current loggingLevel value. Default value is Log.WARN
 
- 
setLoggingTimeoutHow often to log theoverflow thresholdbeing crossed, expressed in milliseconds. A setting of null or zero disable the limitation.If this property is a positive number, and fewer than that many milliseconds have elapsed since the last time we logged an overflow problem for a canvas, then logging will be skipped for that canvas. - Parameters:
- loggingTimeout- New loggingTimeout value. Default value is null
- Returns:
- DebugOverflowSettingsinstance, for chaining setter calls
 
- 
getLoggingTimeoutHow often to log theoverflow thresholdbeing crossed, expressed in milliseconds. A setting of null or zero disable the limitation.If this property is a positive number, and fewer than that many milliseconds have elapsed since the last time we logged an overflow problem for a canvas, then logging will be skipped for that canvas. - Returns:
- Current loggingTimeout value. Default value is null
 
- 
setMaxTrackedOverflowsMaximum number of overflows to track for each canvas when debugging overflow.- Parameters:
- maxTrackedOverflows- New maxTrackedOverflows value. Default value is 10
- Returns:
- DebugOverflowSettingsinstance, for chaining setter calls
 
- 
getMaxTrackedOverflowspublic int getMaxTrackedOverflows()Maximum number of overflows to track for each canvas when debugging overflow.- Returns:
- Current maxTrackedOverflows value. Default value is 10
 
- 
setSelfOverflowThresholdAt what threshold should excessive self-overflows be reported? This value must not exceedmaxTrackedOverflows.- Parameters:
- selfOverflowThreshold- New selfOverflowThreshold value. Default value is 5
- Returns:
- DebugOverflowSettingsinstance, for chaining setter calls
 
- 
getSelfOverflowThresholdpublic int getSelfOverflowThreshold()At what threshold should excessive self-overflows be reported? This value must not exceedmaxTrackedOverflows.- Returns:
- Current selfOverflowThreshold value. Default value is 5
 
- 
setTrackingDurationMaximum time interval past which overflow data will be discarded when debugging overflow, measured in milliseconds.- Parameters:
- trackingDuration- New trackingDuration value. Default value is 10000
- Returns:
- DebugOverflowSettingsinstance, for chaining setter calls
 
- 
getTrackingDurationpublic int getTrackingDuration()Maximum time interval past which overflow data will be discarded when debugging overflow, measured in milliseconds.- Returns:
- Current trackingDuration value. Default value is 10000
 
 
-