public class S3GuardFsckViolationHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
S3GuardFsckViolationHandler.AuthDirContentMismatch
The violation handler when there's a directory listing content mismatch.
|
static class |
S3GuardFsckViolationHandler.DirInS3FileInMs
The violation handler when there's a directory is a file metadata in MS.
|
static class |
S3GuardFsckViolationHandler.EtagMismatch
The violation handler when there's an etag mismatch.
|
static class |
S3GuardFsckViolationHandler.FileInS3DirInMs
The violation handler when a file metadata is a directory in MS.
|
static class |
S3GuardFsckViolationHandler.HandleMode |
static class |
S3GuardFsckViolationHandler.LengthMismatch
The violation handler when there's a length mismatch.
|
static class |
S3GuardFsckViolationHandler.ModTimeMismatch
The violation handler when there's a modtime mismatch.
|
static class |
S3GuardFsckViolationHandler.NoEtag
The violation handler when there's no etag.
|
static class |
S3GuardFsckViolationHandler.NoLastUpdatedField
The violation handler when there's no last updated field for the entry.
|
static class |
S3GuardFsckViolationHandler.NoMetadataEntry
The violation handler when there's no matching metadata entry in the MS.
|
static class |
S3GuardFsckViolationHandler.NoParentEntry
The violation handler when there's no parent entry.
|
static class |
S3GuardFsckViolationHandler.OrphanDDBEntry
The violation handler there's no parent in the MetadataStore.
|
static class |
S3GuardFsckViolationHandler.ParentIsAFile
The violation handler when the parent of an entry is a file.
|
static class |
S3GuardFsckViolationHandler.ParentTombstoned
The violation handler when the parent of an entry is tombstoned.
|
static class |
S3GuardFsckViolationHandler.TombstonedInMsNotDeletedInS3
The violation handler when there's a tombstoned entry in the ms is
present, but the object is not deleted in S3.
|
static class |
S3GuardFsckViolationHandler.VersionIdMismatch
The violation handler when there's a version id mismatch.
|
static class |
S3GuardFsckViolationHandler.ViolationHandler
Violation handler abstract class.
|
| Constructor and Description |
|---|
S3GuardFsckViolationHandler(S3AFileSystem fs,
DynamoDBMetadataStore ddbms) |
| Modifier and Type | Method and Description |
|---|---|
void |
doFix(S3GuardFsck.ComparePair comparePair) |
protected void |
handleComparePair(S3GuardFsck.ComparePair comparePair,
StringBuilder sB,
S3GuardFsckViolationHandler.HandleMode handleMode)
Create a new instance of the violation handler for all the violations
found in the compare pair and use it.
|
void |
logError(S3GuardFsck.ComparePair comparePair) |
public S3GuardFsckViolationHandler(S3AFileSystem fs, DynamoDBMetadataStore ddbms)
public void logError(S3GuardFsck.ComparePair comparePair) throws IOException
IOExceptionpublic void doFix(S3GuardFsck.ComparePair comparePair) throws IOException
IOExceptionprotected void handleComparePair(S3GuardFsck.ComparePair comparePair, StringBuilder sB, S3GuardFsckViolationHandler.HandleMode handleMode) throws IOException
comparePair - the compare pair with violationssB - StringBuilder to append error strings from violations.IOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.