Package org.apache.hadoop.ozone.om
Class ResolvedBucket
java.lang.Object
org.apache.hadoop.ozone.om.ResolvedBucket
Bundles information about a bucket, which is possibly a symlink,
and the real bucket that it resolves to, if it is indeed a link.
For regular buckets, both
requested and resolved point to
the same bucket.-
Constructor Summary
ConstructorsConstructorDescriptionResolvedBucket(String requestedVolume, String requestedBucket, String realVolume, String realBucket, String bucketOwner, org.apache.hadoop.ozone.om.helpers.BucketLayout bucketLayout) ResolvedBucket(String requestedVolume, String requestedBucket, org.apache.hadoop.ozone.om.helpers.OmBucketInfo resolved) ResolvedBucket(org.apache.commons.lang3.tuple.Pair<String, String> requested, org.apache.commons.lang3.tuple.Pair<String, String> real, String owner, org.apache.hadoop.ozone.om.helpers.BucketLayout bucketLayout) -
Method Summary
Modifier and TypeMethodDescriptionaudit()Adds audit information about the bucket (and if it's a link, then the real bucket, too) toauditMap.org.apache.hadoop.ozone.om.helpers.BucketLayoutbooleanbooleanisLink()org.apache.hadoop.ozone.om.helpers.OmKeyArgsupdate(org.apache.hadoop.ozone.om.helpers.OmKeyArgs args) org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.KeyArgsupdate(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.KeyArgs args) org.apache.hadoop.ozone.security.acl.OzoneObjupdate(org.apache.hadoop.ozone.security.acl.OzoneObj ozoneObj)
-
Constructor Details
-
ResolvedBucket
-
ResolvedBucket
-
ResolvedBucket
-
-
Method Details
-
requestedVolume
-
requestedBucket
-
realVolume
-
realBucket
-
bucketOwner
-
bucketLayout
public org.apache.hadoop.ozone.om.helpers.BucketLayout bucketLayout() -
update
public org.apache.hadoop.ozone.om.helpers.OmKeyArgs update(org.apache.hadoop.ozone.om.helpers.OmKeyArgs args) -
update
public org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.KeyArgs update(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.KeyArgs args) -
update
public org.apache.hadoop.ozone.security.acl.OzoneObj update(org.apache.hadoop.ozone.security.acl.OzoneObj ozoneObj) -
isLink
public boolean isLink() -
isDangling
public boolean isDangling() -
audit
-
audit
Adds audit information about the bucket (and if it's a link, then the real bucket, too) toauditMap.- Returns:
- the same map for convenience
-