public interface RequestType extends IntegerPacketType
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isNonLocal() |
default boolean |
isTransaction() |
default boolean |
needsCoordination() |
default RequestType[] |
subRequests() |
getIntdefault boolean needsCoordination()
default boolean isNonLocal()
needsCoordination() above in that the former implies a
statically determined replica coordination protocol while this
method may involve, say, looking up or writing to a some remote
data in a manner specific to executing this request.default RequestType[] subRequests()
default boolean isTransaction()
subRequests() returns a nonempty array of
requests all of which must be executed as a transaction, i.e.,
with atomicity and isolation. Note that the "C" and "D" in ACID
are properties of the replica coordination protocol, so
isTransaction() does not imply durability.