Package | Description |
---|---|
alluxio.proxy.s3 |
Modifier and Type | Method and Description |
---|---|
S3AuditContext |
S3Handler.createAuditContext(String command,
String user,
String bucket,
String object)
Creates a
S3AuditContext instance. |
S3AuditContext |
S3AuditContext.setAllowed(boolean allowed) |
S3AuditContext |
S3AuditContext.setBucket(String bucket)
Sets mBucket field.
|
S3AuditContext |
S3AuditContext.setCommand(String command)
Sets mCommand field.
|
S3AuditContext |
S3AuditContext.setCreationTimeNs(long creationTimeNs)
Sets mCreationTimeNs field.
|
S3AuditContext |
S3AuditContext.setIp(String ip)
Sets mIp field.
|
S3AuditContext |
S3AuditContext.setObject(String object)
Sets mObject field.
|
S3AuditContext |
S3AuditContext.setSucceeded(boolean succeeded) |
S3AuditContext |
S3AuditContext.setUgi(String ugi)
Sets mUgi field.
|
Modifier and Type | Method and Description |
---|---|
static void |
S3RestUtils.checkPathIsAlluxioDirectory(FileSystem fs,
String bucketPath,
S3AuditContext auditContext)
Check if a path in alluxio is a directory.
|
static void |
S3RestUtils.populateTaggingInXAttr(Map<String,com.google.protobuf.ByteString> xattrMap,
String taggingHeader,
S3AuditContext auditContext,
String objectPath)
Populate xattr map with tagging info from tagging header.
|
static S3Exception |
S3RestUtils.toBucketS3Exception(Exception exception,
String resource,
S3AuditContext auditContext)
Convert an exception to instance of
S3Exception . |
static S3Exception |
S3RestUtils.toObjectS3Exception(Exception exception,
String resource,
S3AuditContext auditContext)
Convert an exception to instance of
S3Exception . |
Copyright © 2023. All Rights Reserved.