public abstract class AbstractStoreOperation extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractStoreOperation(StoreContext storeContext)
Constructor.
|
protected |
AbstractStoreOperation(StoreContext storeContext,
org.apache.hadoop.fs.store.audit.AuditSpan auditSpan)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
activateAuditSpan()
Activate the audit span.
|
org.apache.hadoop.fs.store.audit.AuditSpan |
getAuditSpan()
Get the audit span this object was created with.
|
StoreContext |
getStoreContext()
Get the store context.
|
protected AbstractStoreOperation(@Nullable StoreContext storeContext)
storeContext
- store context.protected AbstractStoreOperation(@Nullable StoreContext storeContext, org.apache.hadoop.fs.store.audit.AuditSpan auditSpan)
storeContext
- store context.auditSpan
- active spanpublic final StoreContext getStoreContext()
public org.apache.hadoop.fs.store.audit.AuditSpan getAuditSpan()
public void activateAuditSpan()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.