public final class AuditHelper extends Object
Constructor and Description |
---|
AuditHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addAuditLog(Request request,
DataTree.ProcessTxnResult rc) |
static void |
addAuditLog(Request request,
DataTree.ProcessTxnResult txnResult,
boolean failedTxn)
Add audit log if audit log is enabled and operation is of type which to be audit logged.
|
public static void addAuditLog(Request request, DataTree.ProcessTxnResult rc)
public static void addAuditLog(Request request, DataTree.ProcessTxnResult txnResult, boolean failedTxn)
request
- user requesttxnResult
- ProcessTxnResultfailedTxn
- whether audit is being done failed transaction for normal transactionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.