Uses of Enum Class
org.apache.hadoop.hdfs.server.namenode.NameNode.OperationCategory
Packages that use NameNode.OperationCategory
Package
Description
-
Uses of NameNode.OperationCategory in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return NameNode.OperationCategoryModifier and TypeMethodDescriptionstatic NameNode.OperationCategoryReturns the enum constant of this class with the specified name.static NameNode.OperationCategory[]NameNode.OperationCategory.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type NameNode.OperationCategoryModifier and TypeMethodDescriptionvoidBackupState.checkOperation(HAContext context, NameNode.OperationCategory op) voidFSNamesystem.checkOperation(NameNode.OperationCategory op) voidNameNode.NameNodeHAContext.checkOperation(NameNode.OperationCategory op) Check if an operation of given category is allowed -
Uses of NameNode.OperationCategory in org.apache.hadoop.hdfs.server.namenode.ha
Methods in org.apache.hadoop.hdfs.server.namenode.ha with parameters of type NameNode.OperationCategoryModifier and TypeMethodDescriptionvoidActiveState.checkOperation(HAContext context, NameNode.OperationCategory op) voidHAContext.checkOperation(NameNode.OperationCategory op) Verify that the given operation category is allowed in the current state.abstract voidHAState.checkOperation(HAContext context, NameNode.OperationCategory op) Check if an operation is supported in a given state.voidStandbyState.checkOperation(HAContext context, NameNode.OperationCategory op)