Class DataIntegrityCheckImpl.LedgerResult
- java.lang.Object
-
- org.apache.bookkeeper.bookie.datainteg.DataIntegrityCheckImpl.LedgerResult
-
- Enclosing class:
- DataIntegrityCheckImpl
static class DataIntegrityCheckImpl.LedgerResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DataIntegrityCheckImpl.LedgerResult.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static DataIntegrityCheckImpl.LedgerResult
error(long ledgerId, LedgerMetadata metadata, java.lang.Throwable t)
(package private) long
getLedgerId()
(package private) LedgerMetadata
getMetadata()
(package private) java.lang.Throwable
getThrowable()
(package private) boolean
isError()
(package private) boolean
isMissing()
(package private) boolean
isOK()
(package private) static DataIntegrityCheckImpl.LedgerResult
missing(long ledgerId)
(package private) static DataIntegrityCheckImpl.LedgerResult
ok(long ledgerId, LedgerMetadata metadata)
-
-
-
Method Detail
-
missing
static DataIntegrityCheckImpl.LedgerResult missing(long ledgerId)
-
ok
static DataIntegrityCheckImpl.LedgerResult ok(long ledgerId, LedgerMetadata metadata)
-
error
static DataIntegrityCheckImpl.LedgerResult error(long ledgerId, LedgerMetadata metadata, java.lang.Throwable t)
-
isMissing
boolean isMissing()
-
isOK
boolean isOK()
-
isError
boolean isError()
-
getLedgerId
long getLedgerId()
-
getMetadata
LedgerMetadata getMetadata()
-
getThrowable
java.lang.Throwable getThrowable()
-
-