public interface HAReadGlue extends Remote
Remote interface supporting low-level reads against persistent data
from a quorum member. This interface is used to handle bad reads, which are
identified by a checksum error when reading on the local disk. To handle a
bad read, the quorum member reads on a different member of the same quorum.QuorumRead| Modifier and Type | Method and Description |
|---|---|
Future<IHAReadResponse> |
readFromDisk(IHAReadRequest readMessage)
Read a record an
IRawStore managed by the service. |
Future<IHAReadResponse> readFromDisk(IHAReadRequest readMessage) throws IOException
IRawStore managed by the service. Services MUST
NOT refer this message to another service. If the read can not be
satisfied, for example because the IRawStore has been released or
because there is a checksum error when reading on the IRawStore,
then that exception should be thrown back to the caller.readMessage - The IHAReadRequest.Future of an operation which evaluated to the desired
record.IOExceptionQuorumRead.readFromQuorum(UUID, long)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.