Package org.apache.hadoop.fs.store.audit
Interface AuditSpanSource<T extends AuditSpan>
A source of audit spans.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSpan(String operation, String path1, String path2) Create a span for an operation.
-
Method Details
-
createSpan
Create a span for an operation. All operation names SHOULD come fromStoreStatisticNamesorStreamStatisticNames.- Parameters:
operation- operation name.path1- first path of operationpath2- second path of operation- Returns:
- a span for the audit
- Throws:
IOException- failure
-