public interface CheckpointCapability extends Capability
HotBackupCapability
Modifier and Type | Method and Description |
---|---|
void |
forceCheckpoint()
Forces a checkpoint to run now, even if checkpointer is suspended or
disabled.
|
void |
resumeCheckpointer()
Resumes the checkpointer if it was suspended.
|
void |
suspendCheckpointer(long suspensionTime)
Suspend the checkpointer until the suspension time has expired or until
manually resumed.
|
void |
sync()
Synchronously flushes changes to stable storage, which is cheaper than
performing a checkpoint.
|
void suspendCheckpointer(long suspensionTime)
Calling this method repeatedly resets the suspension time. Each invocation of suspendCheckpointer is like a lease renewal or heartbeat.
suspensionTime
- minimum length of suspension, in milliseconds,
unless checkpointer is manually resumedvoid resumeCheckpointer()
void forceCheckpoint() throws PersistException
PersistException
void sync() throws PersistException
PersistException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.