Class HFileContextAttributesBuilderConsumer

java.lang.Object
org.apache.hadoop.hbase.io.hfile.trace.HFileContextAttributesBuilderConsumer
All Implemented Interfaces:
Consumer<io.opentelemetry.api.common.AttributesBuilder>

@Private public class HFileContextAttributesBuilderConsumer extends Object implements Consumer<io.opentelemetry.api.common.AttributesBuilder>

Populate fields on an AttributesBuilder based on an HFileContext. Passed around inside an active Context, indexed under CONTEXT_KEY. The class is designed such that calls to the accept(AttributesBuilder) method are idempotent with regards to the instance of this class.

The true and truly ridiculous class name should be something more like HFileContext_ContextAttributes_AttributesBuilder_Consumer.