Package org.apache.hadoop.ozone.audit
Enum OMSystemAction
- All Implemented Interfaces:
Serializable,Comparable<OMSystemAction>,org.apache.hadoop.ozone.audit.AuditAction
public enum OMSystemAction
extends Enum<OMSystemAction>
implements org.apache.hadoop.ozone.audit.AuditAction
Enum to define Audit Action types for system audit in OzoneManager. This will in addition to OMAction
as present for request.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic OMSystemActionReturns the enum constant of this type with the specified name.static OMSystemAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STARTUP
-
LEADER_CHANGE
-
OPEN_KEY_CLEANUP
-
DB_CHECKPOINT_INSTALL
-
DIRECTORY_DELETION
-
KEY_DELETION
-
SNAPSHOT_MOVE_TABLE_KEYS
-
SNAPSHOT_PURGE
-
SNAPSHOT_SET_PROPERTY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getAction
- Specified by:
getActionin interfaceorg.apache.hadoop.ozone.audit.AuditAction
-