Class DataIntegrityCookieValidation
java.lang.Object
org.apache.bookkeeper.bookie.datainteg.DataIntegrityCookieValidation
- All Implemented Interfaces:
CookieValidation
An implementation of the CookieValidation interface that allows for auto-stamping
cookies when configured and used in conjunction with the data integrity service.
Because the data integrity service can heal a bookie with lost data due to a disk
failure, a bookie can auto stamp new cookies as part of the healing process.
-
Constructor Summary
ConstructorsConstructorDescriptionDataIntegrityCookieValidation(ServerConfiguration conf, RegistrationManager registrationManager, DataIntegrityCheck dataIntegCheck) -
Method Summary
-
Constructor Details
-
DataIntegrityCookieValidation
public DataIntegrityCookieValidation(ServerConfiguration conf, RegistrationManager registrationManager, DataIntegrityCheck dataIntegCheck) throws UnknownHostException - Throws:
UnknownHostException
-
-
Method Details
-
checkCookies
- Specified by:
checkCookiesin interfaceCookieValidation- Throws:
BookieExceptionInterruptedException
-