|
||||||||||
| 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. |
long |
getCompletionTimestamp()
|
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. |
void |
rethrowExceptionIfFailed()
Rethrow the exception returned by getExceptionIfFailed(). |
| Method Detail |
|---|
boolean isFinished()
long getCompletionTimestamp()
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
void rethrowExceptionIfFailed()
throws ForeignException
getExceptionIfFailed().
If there is no exception this is a no-op.
ForeignException - all exceptions from remote sources are procedure exceptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||