public class EncryptionFaultInjector extends Object
Modifier and Type | Field and Description |
---|---|
static EncryptionFaultInjector |
instance |
Constructor and Description |
---|
EncryptionFaultInjector() |
Modifier and Type | Method and Description |
---|---|
void |
ensureKeyIsInitialized() |
static EncryptionFaultInjector |
getInstance() |
void |
reencryptEncryptedKeys() |
void |
reencryptUpdaterProcessCheckpoint() |
void |
reencryptUpdaterProcessOneTask() |
void |
startFileAfterGenerateKey() |
void |
startFileBeforeGenerateKey() |
void |
startFileNoKey() |
@VisibleForTesting public static EncryptionFaultInjector instance
@VisibleForTesting public static EncryptionFaultInjector getInstance()
@VisibleForTesting public void startFileNoKey() throws IOException
IOException
@VisibleForTesting public void startFileBeforeGenerateKey() throws IOException
IOException
@VisibleForTesting public void startFileAfterGenerateKey() throws IOException
IOException
@VisibleForTesting public void reencryptEncryptedKeys() throws IOException
IOException
@VisibleForTesting public void reencryptUpdaterProcessOneTask() throws IOException
IOException
@VisibleForTesting public void reencryptUpdaterProcessCheckpoint() throws IOException
IOException
@VisibleForTesting public void ensureKeyIsInitialized() throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.