Class FrameConfig
- java.lang.Object
-
- com.intergral.deep.agent.tracepoint.handler.FrameConfig
-
public class FrameConfig extends Object
This config holds the general config to use when processing a callback. The config is defined from all the tracepoints that are trigger on a line.
-
-
Constructor Summary
Constructors Constructor Description FrameConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
When we have finished processing all the tracepoints weclose
the config to set the final config for this callback.boolean
isCfRaw()
Is this frame set to cf raw.boolean
isNoCollect()
int
maxCollectionSize()
The max number of items in a collection we should collect.int
maxDepth()
The max depth of variables to collect.int
maxStringLength()
The max length of any string.int
maxVariables()
The max number of variables this callback should collect.void
process(TracePointConfig tracePointConfig)
Process a tracepoint into the config.boolean
shouldCollectVars(int currentFrameIndex)
Using theframeType
should we collect the variables on this frame.
-
-
-
Method Detail
-
process
public void process(TracePointConfig tracePointConfig)
Process a tracepoint into the config.- Parameters:
tracePointConfig
- the tracepoint to process
-
close
public void close()
When we have finished processing all the tracepoints weclose
the config to set the final config for this callback.
-
shouldCollectVars
public boolean shouldCollectVars(int currentFrameIndex)
Using theframeType
should we collect the variables on this frame.- Parameters:
currentFrameIndex
- the current frame index.- Returns:
true
if we should collect the variables.
-
maxVariables
public int maxVariables()
The max number of variables this callback should collect.- Returns:
- the max variables
-
maxStringLength
public int maxStringLength()
The max length of any string.- Returns:
- the max string length
-
maxDepth
public int maxDepth()
The max depth of variables to collect.- Returns:
- the max variable depth
-
maxCollectionSize
public int maxCollectionSize()
The max number of items in a collection we should collect.- Returns:
- the max collection size
-
isCfRaw
public boolean isCfRaw()
Is this frame set to cf raw. cf raw allows the collection of the java variables instead of the mapped cf variables.- Returns:
true
if we want to collect the raw cf variables.
-
isNoCollect
public boolean isNoCollect()
-
-