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, waitdeactivate, isValidSpan, setrequestCreatedafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailureprotected AbstractAuditSpanImpl(String spanId, String operationName)
spanId - span ID.operationName - operation namepublic final String getSpanId()
AWSAuditEventCallbacksgetSpanId in interface AWSAuditEventCallbacksgetSpanId in interface org.apache.hadoop.fs.store.audit.AuditSpanpublic String getOperationName()
AWSAuditEventCallbacksgetOperationName in interface AWSAuditEventCallbacksgetOperationName in interface org.apache.hadoop.fs.store.audit.AuditSpanpublic final long getTimestamp()
getTimestamp in interface org.apache.hadoop.fs.store.audit.AuditSpanpublic AuditSpanS3A activate()
activate in interface org.apache.hadoop.fs.store.audit.AuditSpanpublic final void close()
AuditSpan.deactivate().
This is final: subclasses MUST override the
deactivate() method.close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.hadoop.fs.store.audit.AuditSpanCopyright © 2008–2024 Apache Software Foundation. All rights reserved.