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 voidclose()When we have finished processing all the tracepoints weclosethe config to set the final config for this callback.booleanisCfRaw()Is this frame set to cf raw.booleanisNoCollect()intmaxCollectionSize()The max number of items in a collection we should collect.intmaxDepth()The max depth of variables to collect.intmaxStringLength()The max length of any string.intmaxVariables()The max number of variables this callback should collect.voidprocess(TracePointConfig tracePointConfig)Process a tracepoint into the config.booleanshouldCollectVars(int currentFrameIndex)Using theframeTypeshould 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 weclosethe config to set the final config for this callback.
-
shouldCollectVars
public boolean shouldCollectVars(int currentFrameIndex)
Using theframeTypeshould we collect the variables on this frame.- Parameters:
currentFrameIndex- the current frame index.- Returns:
trueif 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:
trueif we want to collect the raw cf variables.
-
isNoCollect
public boolean isNoCollect()
-
-