Class LogLineIterator.JenkinsHttpSessionLineBytesToLogLineIdMapper<Id>
java.lang.Object
io.jenkins.plugins.opentelemetry.job.log.util.LogLineIterator.JenkinsHttpSessionLineBytesToLogLineIdMapper<Id>
- All Implemented Interfaces:
LogLineIterator.LogLineBytesToLogLineIdMapper<Id>
- Enclosing interface:
- LogLineIterator<Id>
public static class LogLineIterator.JenkinsHttpSessionLineBytesToLogLineIdMapper<Id>
extends Object
implements LogLineIterator.LogLineBytesToLogLineIdMapper<Id>
Converter gets garbage collected when the HTTP session expires
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJenkinsHttpSessionLineBytesToLogLineIdMapper
(String jobFullName, int runNumber, String flowNodeId) -
Method Summary
Modifier and TypeMethodDescriptiongetLogLineIdFromLogBytes
(long bytes) void
putLogBytesToLogLineId
(long bytes, Id logLineId)
-
Field Details
-
HTTP_SESSION_KEY
- See Also:
-
-
Constructor Details
-
JenkinsHttpSessionLineBytesToLogLineIdMapper
-
-
Method Details
-
getLogLineIdFromLogBytes
- Specified by:
getLogLineIdFromLogBytes
in interfaceLogLineIterator.LogLineBytesToLogLineIdMapper<Id>
- Returns:
null
if unknown
-
putLogBytesToLogLineId
- Specified by:
putLogBytesToLogLineId
in interfaceLogLineIterator.LogLineBytesToLogLineIdMapper<Id>
-