public class CheckpointFaultInjector extends Object
| Modifier and Type | Field and Description |
|---|---|
static CheckpointFaultInjector |
instance |
| Constructor and Description |
|---|
CheckpointFaultInjector() |
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToSendFile(File localfile) |
void |
afterMD5Rename() |
void |
afterSecondaryCallsRollEditLog() |
void |
afterSecondaryUploadsNewImage() |
void |
beforeEditsRename() |
void |
beforeGetImageSetsHeaders() |
void |
duringMerge() |
void |
duringUploadInProgess() |
static CheckpointFaultInjector |
getInstance() |
static void |
set(CheckpointFaultInjector instance) |
boolean |
shouldCorruptAByte(File localfile) |
boolean |
shouldSendShortFile(File localfile) |
public static CheckpointFaultInjector instance
public static CheckpointFaultInjector getInstance()
public static void set(CheckpointFaultInjector instance)
public void beforeGetImageSetsHeaders()
throws IOException
IOExceptionpublic void afterSecondaryCallsRollEditLog()
throws IOException
IOExceptionpublic void duringMerge()
throws IOException
IOExceptionpublic void afterSecondaryUploadsNewImage()
throws IOException
IOExceptionpublic void aboutToSendFile(File localfile) throws IOException
IOExceptionpublic boolean shouldSendShortFile(File localfile)
public boolean shouldCorruptAByte(File localfile)
public void afterMD5Rename()
throws IOException
IOExceptionpublic void beforeEditsRename()
throws IOException
IOExceptionpublic void duringUploadInProgess()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.