Uses of Record Class
com.loomcache.server.transaction.TransactionResult
Packages that use TransactionResult
Package
Description
Multi-Raft sharding infrastructure for LoomCache.
-
Uses of TransactionResult in com.loomcache.server.sharding
Methods in com.loomcache.server.sharding that return TransactionResultModifier and TypeMethodDescriptionCrossGroupTransactionExecutor.applyCommittedTransaction(ReplicatedTransactionCommand command, BiFunction<Integer, String, DistributedMap<String, String>> mapResolver) Apply a committed transaction using a per-op (groupId, mapName) → map resolver.CrossGroupTransactionExecutor.applyCommittedTransaction(ReplicatedTransactionCommand command, Function<Integer, DistributedMap<String, String>> mapResolver) CrossGroupTransactionExecutor.applyCommittedTransaction(Transaction transaction, Function<Integer, DistributedMap<String, String>> mapResolver) Apply a Raft-committed transaction locally.CrossGroupTransactionExecutor.execute(ReplicatedTransactionCommand command, BiFunction<Integer, String, DistributedMap<String, String>> mapResolver) CrossGroupTransactionExecutor.execute(ReplicatedTransactionCommand command, Function<Integer, DistributedMap<String, String>> mapResolver) CrossGroupTransactionExecutor.execute(Transaction transaction, Function<Integer, DistributedMap<String, String>> mapResolver) Execute a cross-group transaction.Methods in com.loomcache.server.sharding that return types with arguments of type TransactionResultModifier and TypeMethodDescriptionCrossGroupTransactionExecutor.RaftTransactionSubmitter.submitTransaction(ReplicatedTransactionCommand command) -
Uses of TransactionResult in com.loomcache.server.transaction
Methods in com.loomcache.server.transaction that return TransactionResultModifier and TypeMethodDescriptionstatic TransactionResultTransactionExecutor.execute(Transaction txn, DistributedMap<String, String> map) Executes a transaction atomically on the given map.static TransactionResultTransactionResult.failure()Creates a failed transaction result with no responses.static TransactionResultCreates a failed transaction result with the given responses.static TransactionResultTransactionResult.success()Creates a successful transaction result with no responses.static TransactionResultCreates a successful transaction result with the given responses. -
Uses of TransactionResult in com.loomcache.server.transaction.twopc
Methods in com.loomcache.server.transaction.twopc that return TransactionResultModifier and TypeMethodDescription@NonNull TransactionResultTwoPhaseParticipant.applyDecideGroup(@NonNull TwoPhaseCommands.DecideGroup cmd, int groupId) Apply a committedTwoPhaseCommands.DecideGrouplog entry.Methods in com.loomcache.server.transaction.twopc that return types with arguments of type TransactionResultModifier and TypeMethodDescription@NonNull CompletableFuture<TransactionResult> TwoPhaseCoordinator.start(@NonNull ReplicatedTransactionCommand command) Start a new cross-group transaction.