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()
Constructor.
|
NoopAuditor(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.
|
createSpanID, getAuditorId, getIOStatistics, getOptions, initclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckAccess, noteSpanReferenceLostpublic NoopAuditor()
public NoopAuditor(NoopSpan.SpanActivationCallbacks activationCallbacks)
NoopAuditManagerS3A.activationCallbacks - Activation callbacks.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–2024 Apache Software Foundation. All rights reserved.