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
IOException
public void afterSecondaryCallsRollEditLog() throws IOException
IOException
public void duringMerge() throws IOException
IOException
public void afterSecondaryUploadsNewImage() throws IOException
IOException
public void aboutToSendFile(File localfile) throws IOException
IOException
public boolean shouldSendShortFile(File localfile)
public boolean shouldCorruptAByte(File localfile)
public void afterMD5Rename() throws IOException
IOException
public void beforeEditsRename() throws IOException
IOException
public void duringUploadInProgess() throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.