diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/sleepycat/CheckpointCapability.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/CheckpointCapability.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/CheckpointCapability.java index c261d8a..b52c706 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/CheckpointCapability.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/CheckpointCapability.java @@ -18,6 +18,7 @@ package com.amazon.carbonado.repo.sleepycat;
+import com.amazon.carbonado.PersistDeniedException;
import com.amazon.carbonado.PersistException;
import com.amazon.carbonado.capability.Capability;
@@ -53,6 +54,8 @@ public interface CheckpointCapability extends Capability { * disabled. If a checkpoint is in progress, then this method will block
* until it is finished, and then run another checkpoint. This method does
* not return until the requested checkpoint has finished.
+ *
+ * @throws PersistDeniedException if disabled during a hot backup
*/
void forceCheckpoint() throws PersistException;
}
|