Package com.loomcache.server.transaction.twopc
package com.loomcache.server.transaction.twopc
-
ClassDescriptionNarrow dispatch interface used by the 2PC coordinator and participants to send cross-node messages without depending on the concrete
TcpServer.Sealed command types for the cross-group 2PC protocol introduced in BLK-2026-04-22-001 Phase C.Durable coordinator DECIDE record, replicated through raft-0's own log BEFORE the coordinator fans TX_DECIDE_GROUP out to the participant groups.Durable coordinator PREPARE record, replicated through raft-0's own log.Acknowledgment from a participant that it applied the coordinator's decision.Phase-2 decision broadcast from the coordinator to each participant.Query from a recovering participant to the coordinator: "what decision did you make for this transaction?"Coordinator decision in phase 2.Internal writer callback used byTwoPhaseCommands.writeFrame(TwoPhaseCommands.Kind, TwoPhaseCommands.FrameWriter).Wire kind tag — serialized as the first byte of every frame.Phase-1 vote from a participant group back to the coordinator.Transaction phase-1 request from coordinator to a participant group.Participant vote in phase 1.Coordinator side of the cross-group 2-phase commit protocol introduced in BLK-2026-04-22-001 Phase C.Participant side of the cross-group 2-phase commit protocol introduced in BLK-2026-04-22-001 Phase C.