Class LineIterator.JenkinsHttpSessionLineBytesToLineNumberConverter
java.lang.Object
io.jenkins.plugins.opentelemetry.job.log.util.LineIterator.JenkinsHttpSessionLineBytesToLineNumberConverter
- All Implemented Interfaces:
LineIterator.LineBytesToLineNumberConverter
- Enclosing interface:
- LineIterator
public static class LineIterator.JenkinsHttpSessionLineBytesToLineNumberConverter
extends Object
implements LineIterator.LineBytesToLineNumberConverter
Converter gets garbage collected when the HTTP session expires
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJenkinsHttpSessionLineBytesToLineNumberConverter
(String jobFullName, int runNumber, String flowNodeId) -
Method Summary
Modifier and TypeMethodDescriptiongetLogLineFromLogBytes
(long bytes) void
putLogBytesToLogLine
(long bytes, long line)
-
Field Details
-
HTTP_SESSION_KEY
- See Also:
-
-
Constructor Details
-
JenkinsHttpSessionLineBytesToLineNumberConverter
-
-
Method Details
-
getLogLineFromLogBytes
- Specified by:
getLogLineFromLogBytes
in interfaceLineIterator.LineBytesToLineNumberConverter
- Returns:
null
if unknown
-
putLogBytesToLogLine
public void putLogBytesToLogLine(long bytes, long line) - Specified by:
putLogBytesToLogLine
in interfaceLineIterator.LineBytesToLineNumberConverter
-