diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2009-08-18 00:30:15 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2009-08-18 00:30:15 +0000 |
commit | a6848189ff44e21b886a9c045bd753500f90f1d3 (patch) | |
tree | adf74089795295810c6711cc10d016e3790ba41e /src/main/java/com/amazon/carbonado | |
parent | 52e371deb5def5513d6725553d130b5ba5d4248b (diff) |
Throw exception if force checkpoint disabled.
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;
}
|