|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private @InterfaceStability.Unstable public interface SnapshotSentinel
Watch the current snapshot under process
Method Summary | |
---|---|
void |
cancel(String why)
Actively cancel a running snapshot. |
ForeignException |
getExceptionIfFailed()
Get the exception that caused the snapshot to fail, if the snapshot has failed. |
HBaseProtos.SnapshotDescription |
getSnapshot()
|
boolean |
isFinished()
Check to see if the snapshot is finished, where finished may be success or failure. |
Method Detail |
---|
boolean isFinished()
void cancel(String why)
why
- Reason for cancellation.HBaseProtos.SnapshotDescription getSnapshot()
ForeignException getExceptionIfFailed()
ForeignException
that caused the snapshot to fail, or null if the
snapshot is still in progress or has succeeded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |