Class NoopSpan

All Implemented Interfaces:
Closeable, AutoCloseable, AuditSpanS3A, AWSAuditEventCallbacks, org.apache.hadoop.fs.store.audit.AuditSpan, software.amazon.awssdk.core.interceptor.ExecutionInterceptor

public class NoopSpan extends AbstractAuditSpanImpl
A minimal span with no direct side effects. It does have an ID and, if given callbacks, will notify the callback implementation of activation and deactivation. Subclassable for tests.
  • Field Details

    • INSTANCE

      public static final NoopSpan INSTANCE
      Static public instance.
  • Constructor Details

    • NoopSpan

      protected NoopSpan(String spanId, String operationName, String path1, String path2, NoopSpan.SpanActivationCallbacks activationCallbacks)
      Create a no-op span.
      Parameters:
      spanId - span ID
      operationName - operation name
      path1 - path
      path2 - path 2
      activationCallbacks - Activation callbacks.
    • NoopSpan

      protected NoopSpan()
  • Method Details