public interface IHARootBlockRequest extends IHAMessage
Modifier and Type | Method and Description |
---|---|
UUID |
getStoreUUID()
The
UUID of the journal whose root block will be returned
(optional, defaults to the current Journal). |
boolean |
isNonBlocking()
When
true the request should be non-blocking. |
UUID getStoreUUID()
UUID
of the journal whose root block will be returned
(optional, defaults to the current Journal).
Note: This parameter is intended for scale-out if there is a need to fetch the root block of a historical journal (versus the live journal).
boolean isNonBlocking()
true
the request should be non-blocking. Otherwise the
request should obtain the lock that guards the update of the root block
in the commit protocol such that the caller can not observe a root block
that has been updated but where the commit protocol is still in its
critical section.
Note: The non-blocking form of the request is used in some context where the avoidence of a deadlock is necessary. The blocking form is used in some contexts where we need to await a specific commit point on the service (typically under test suite control).
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.