public abstract class AbstractAuditSpanImpl extends Object implements AuditSpanS3A
Modifier | Constructor and Description |
---|---|
protected |
AbstractAuditSpanImpl(String spanId,
long timestamp,
String operationName)
Constructor.
|
protected |
AbstractAuditSpanImpl(String spanId,
String operationName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AuditSpanS3A |
activate() |
void |
close()
Invoke
AuditSpan.deactivate() . |
String |
getOperationName()
Get the name of the operation.
|
String |
getSpanId()
Return a span ID which must be unique for all spans within
everywhere.
|
long |
getTimestamp() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deactivate, isValidSpan, set
requestCreated
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
protected AbstractAuditSpanImpl(String spanId, String operationName)
spanId
- span ID.operationName
- operation namepublic final String getSpanId()
AWSAuditEventCallbacks
getSpanId
in interface AWSAuditEventCallbacks
getSpanId
in interface org.apache.hadoop.fs.store.audit.AuditSpan
public String getOperationName()
AWSAuditEventCallbacks
getOperationName
in interface AWSAuditEventCallbacks
getOperationName
in interface org.apache.hadoop.fs.store.audit.AuditSpan
public final long getTimestamp()
getTimestamp
in interface org.apache.hadoop.fs.store.audit.AuditSpan
public AuditSpanS3A activate()
activate
in interface org.apache.hadoop.fs.store.audit.AuditSpan
public final void close()
AuditSpan.deactivate()
.
This is final: subclasses MUST override the
deactivate()
method.close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.fs.store.audit.AuditSpan
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.