Class AclFeature
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.AclFeature
- All Implemented Interfaces:
INode.Feature,ReferenceCountMap.ReferenceCounter
@Private
public class AclFeature
extends Object
implements INode.Feature, ReferenceCountMap.ReferenceCounter
Feature that represents the ACLs of the inode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableList<org.apache.hadoop.fs.permission.AclEntry> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_ENTRY_LIST
public static final org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableList<org.apache.hadoop.fs.permission.AclEntry> EMPTY_ENTRY_LIST
-
-
Constructor Details
-
AclFeature
public AclFeature(int[] entries)
-
-
Method Details
-
equals
-
toString
-
hashCode
public int hashCode() -
getRefCount
public int getRefCount()- Specified by:
getRefCountin interfaceReferenceCountMap.ReferenceCounter
-
incrementAndGetRefCount
public int incrementAndGetRefCount()- Specified by:
incrementAndGetRefCountin interfaceReferenceCountMap.ReferenceCounter
-
decrementAndGetRefCount
public int decrementAndGetRefCount()- Specified by:
decrementAndGetRefCountin interfaceReferenceCountMap.ReferenceCounter
-