Class MemoryFlowChunk
java.lang.Object
org.jenkinsci.plugins.workflow.graphanalysis.MemoryFlowChunk
- All Implemented Interfaces:
FlowChunk,FlowChunkWithContext
- Direct Known Subclasses:
ParallelMemoryFlowChunk
FlowChunk that holds direct references to the
FlowNode instances and context info
This makes it easy to use in analysis and visualizations, but inappropriate to retain in caches, etc- Author:
- Sam Van Oort
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMemoryFlowChunk(FlowNode before, FlowNode firstNode, FlowNode lastNode, FlowNode nodeAfter) -
Method Summary
Modifier and TypeMethodDescriptionReturn the node after this chunk, or null if it is the endReturn the node before this chunk, or null if it is the beginninglongvoidsetFirstNode(FlowNode firstNode) voidsetLastNode(FlowNode lastNode) voidsetNodeAfter(FlowNode nodeAfter) voidsetNodeBefore(FlowNode nodeBefore) voidsetPauseTimeMillis(long pauseTimeMillis)
-
Field Details
-
firstNode
-
lastNode
-
nodeBefore
-
nodeAfter
-
-
Constructor Details
-
MemoryFlowChunk
-
MemoryFlowChunk
public MemoryFlowChunk()
-
-
Method Details
-
getFirstNode
- Specified by:
getFirstNodein interfaceFlowChunk
-
setFirstNode
-
getLastNode
- Specified by:
getLastNodein interfaceFlowChunk
-
setLastNode
-
getNodeBefore
Description copied from interface:FlowChunkWithContextReturn the node before this chunk, or null if it is the beginning- Specified by:
getNodeBeforein interfaceFlowChunkWithContext
-
setNodeBefore
-
getNodeAfter
Description copied from interface:FlowChunkWithContextReturn the node after this chunk, or null if it is the end- Specified by:
getNodeAfterin interfaceFlowChunkWithContext
-
setNodeAfter
-
getPauseTimeMillis
public long getPauseTimeMillis() -
setPauseTimeMillis
public void setPauseTimeMillis(long pauseTimeMillis)
-