MCPcopy Create free account
hub / github.com/apple/foundationdb / StateTransactionRef

Class StateTransactionRef

fdbserver/include/fdbserver/ResolverInterface.h:69–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67};
68
69struct StateTransactionRef {
70 constexpr static FileIdentifier file_identifier = 6150271;
71 StateTransactionRef() {}
72 StateTransactionRef(const bool committed, VectorRef<MutationRef> const& mutations)
73 : committed(committed), mutations(mutations) {}
74 StateTransactionRef(Arena& p, const StateTransactionRef& toCopy)
75 : committed(toCopy.committed), mutations(p, toCopy.mutations) {}
76 bool committed;
77 VectorRef<MutationRef> mutations;
78 size_t expectedSize() const { return mutations.expectedSize(); }
79
80 template <class Archive>
81 void serialize(Archive& ar) {
82 serializer(ar, committed, mutations);
83 }
84};
85
86struct ResolveTransactionBatchReply {
87 constexpr static FileIdentifier file_identifier = 15472264;

Callers 1

Resolver.actor.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected