Class NoopSpan
java.lang.Object
org.apache.hadoop.fs.s3a.audit.impl.AbstractAuditSpanImpl
org.apache.hadoop.fs.s3a.audit.impl.NoopSpan
- All Implemented Interfaces:
Closeable,AutoCloseable,AuditSpanS3A,AWSAuditEventCallbacks,org.apache.hadoop.fs.store.audit.AuditSpan,software.amazon.awssdk.core.interceptor.ExecutionInterceptor
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceActivation callbacks. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.fs.s3a.audit.impl.AbstractAuditSpanImpl
close, getOperationName, getSpanId, getTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.fs.store.audit.AuditSpan
isValidSpan, setMethods inherited from interface org.apache.hadoop.fs.s3a.audit.AWSAuditEventCallbacks
requestCreatedMethods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
Field Details
-
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 IDoperationName- operation namepath1- pathpath2- path 2activationCallbacks- Activation callbacks.
-
NoopSpan
protected NoopSpan()
-
-
Method Details
-
activate
- Specified by:
activatein interfaceorg.apache.hadoop.fs.store.audit.AuditSpan- Overrides:
activatein classAbstractAuditSpanImpl
-
deactivate
public void deactivate() -
toString
-