public static enum S3GuardFsck.Violation extends Enum<S3GuardFsck.Violation>
| Enum Constant and Description |
|---|
AUTHORITATIVE_DIRECTORY_CONTENT_MISMATCH |
DIR_IN_S3_FILE_IN_MS
A directory in S3 is a file entry in the MS.
|
ETAG_MISMATCH
If there's an etag the mismatch is severe.
|
FILE_IN_S3_DIR_IN_MS
A file in S3 is a directory in the MS.
|
LENGTH_MISMATCH
Attribute mismatch.
|
MOD_TIME_MISMATCH |
NO_ETAG
Don't worry too much if we don't have an etag.
|
NO_LASTUPDATED_FIELD
The entry's lastUpdated field is empty.
|
NO_METADATA_ENTRY
No entry in metadatastore.
|
NO_PARENT_ENTRY
A file or directory entry does not have a parent entry - excluding
files and directories in the root.
|
ORPHAN_DDB_ENTRY
The entry does not have a parent in ddb.
|
PARENT_IS_A_FILE
An entry’s parent is a file.
|
PARENT_TOMBSTONED
A file exists under a path for which there is a
tombstone entry in the MS.
|
TOMBSTONED_IN_MS_NOT_DELETED_IN_S3
An entry in the MS is tombstoned, but the object is not deleted on S3.
|
VERSIONID_MISMATCH
If there's a versionID the mismatch is severe.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends S3GuardFsckViolationHandler.ViolationHandler> |
getHandler() |
int |
getSeverity() |
static S3GuardFsck.Violation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3GuardFsck.Violation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3GuardFsck.Violation NO_METADATA_ENTRY
public static final S3GuardFsck.Violation NO_PARENT_ENTRY
public static final S3GuardFsck.Violation PARENT_IS_A_FILE
public static final S3GuardFsck.Violation PARENT_TOMBSTONED
public static final S3GuardFsck.Violation DIR_IN_S3_FILE_IN_MS
public static final S3GuardFsck.Violation FILE_IN_S3_DIR_IN_MS
public static final S3GuardFsck.Violation AUTHORITATIVE_DIRECTORY_CONTENT_MISMATCH
public static final S3GuardFsck.Violation TOMBSTONED_IN_MS_NOT_DELETED_IN_S3
public static final S3GuardFsck.Violation LENGTH_MISMATCH
public static final S3GuardFsck.Violation MOD_TIME_MISMATCH
public static final S3GuardFsck.Violation VERSIONID_MISMATCH
public static final S3GuardFsck.Violation ETAG_MISMATCH
public static final S3GuardFsck.Violation NO_ETAG
public static final S3GuardFsck.Violation ORPHAN_DDB_ENTRY
public static final S3GuardFsck.Violation NO_LASTUPDATED_FIELD
public static S3GuardFsck.Violation[] values()
for (S3GuardFsck.Violation c : S3GuardFsck.Violation.values()) System.out.println(c);
public static S3GuardFsck.Violation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getSeverity()
public Class<? extends S3GuardFsckViolationHandler.ViolationHandler> getHandler()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.