public interface QuorumRead<S extends HAReadGlue>
Quorumdefining methods to support reading on another member of the quorum.
|Modifier and Type||Method and Description|
Used by any service joined with the quorum to read a record from another service joined with the quorum in order to work around a "bad read" as identified by a checksum error on the local service.
byte readFromQuorum(UUID storeId, long addr) throws InterruptedException, IOException
Note: This is NOT the normal path for reading on a record from a service. This is used to handle bad reads (when a checksum or IO error is reported by the local disk) by reading the record from another member of the quorum.
IRawStorefrom which the record should be read.
addr- The address of a record on that store.
IllegalStateException- if the quorum is not highly available.
RuntimeException- if the quorum is highly available but the record could not be read.
Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.