Uses of Interface
com.loomcache.server.transaction.twopc.TwoPhaseCommands
Packages that use TwoPhaseCommands
-
Uses of TwoPhaseCommands in com.loomcache.server.transaction.twopc
Classes in com.loomcache.server.transaction.twopc that implement TwoPhaseCommandsModifier and TypeClassDescriptionstatic final recordDurable coordinator DECIDE record, replicated through raft-0's own log BEFORE the coordinator fans TX_DECIDE_GROUP out to the participant groups.static final recordDurable coordinator PREPARE record, replicated through raft-0's own log.static final recordAcknowledgment from a participant that it applied the coordinator's decision.static final recordPhase-2 decision broadcast from the coordinator to each participant.static final recordQuery from a recovering participant to the coordinator: "what decision did you make for this transaction?"static final recordPhase-1 vote from a participant group back to the coordinator.static final recordTransaction phase-1 request from coordinator to a participant group.Methods in com.loomcache.server.transaction.twopc that return TwoPhaseCommandsModifier and TypeMethodDescriptionstatic @NonNull TwoPhaseCommandsTwoPhaseCommands.deserialize(byte @NonNull [] bytes) Deserialize a wire frame into the matching command record.Methods in com.loomcache.server.transaction.twopc that return types with arguments of type TwoPhaseCommandsModifier and TypeMethodDescriptionstatic @NonNull List<Class<? extends TwoPhaseCommands>> TwoPhaseCommands.knownTypes()Methods in com.loomcache.server.transaction.twopc with parameters of type TwoPhaseCommandsModifier and TypeMethodDescriptionstatic byte @NonNull []TwoPhaseCommands.serialize(@NonNull TwoPhaseCommands cmd) Serialize any command instance.