public class NoopAuditor extends AbstractOperationAuditor
NoopSpan.
Even though the spans are no-ops, each span is still
created with a unique span ID.BASE| Constructor and Description |
|---|
NoopAuditor() |
NoopAuditor(String name)
Constructor.
|
NoopAuditor(String name,
NoopSpan.SpanActivationCallbacks activationCallbacks)
Constructor when explicitly created within
the
NoopAuditManagerS3A. |
| Modifier and Type | Method and Description |
|---|---|
static NoopAuditor |
createAndStartNoopAuditor(org.apache.hadoop.conf.Configuration conf,
NoopSpan.SpanActivationCallbacks activationCallbacks)
Create, init and start an instance.
|
AuditSpanS3A |
createSpan(String operation,
String path1,
String path2) |
AuditSpanS3A |
getUnbondedSpan()
Get the unbonded span to use after deactivating an active
span.
|
auditorFlagsChanged, createSpanID, getAuditorFlags, getAuditorId, getIOStatistics, getOptions, init, isRejectOutOfSpan, serviceInit, setAuditFlags, setRejectOutOfSpanclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckAccess, noteSpanReferenceLostpublic NoopAuditor(String name)
name - auditor namepublic NoopAuditor(String name, NoopSpan.SpanActivationCallbacks activationCallbacks)
NoopAuditManagerS3A.name - auditor nameactivationCallbacks - Activation callbacks.public NoopAuditor()
public AuditSpanS3A createSpan(String operation, @Nullable String path1, @Nullable String path2)
public AuditSpanS3A getUnbondedSpan()
OperationAuditorpublic static NoopAuditor createAndStartNoopAuditor(org.apache.hadoop.conf.Configuration conf, NoopSpan.SpanActivationCallbacks activationCallbacks)
conf - configuration.activationCallbacks - Activation callbacks.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.