MCPcopy Create free account
hub / github.com/apache/impala / AtomicStateTransition

Class AtomicStateTransition

be/src/util/cache/lirs-cache.cc:198–203  ·  view source on GitHub ↗

Struct to represent a successful atomic transition with the before and after values

Source from the content-addressed store, hash-verified

196
197// Struct to represent a successful atomic transition with the before and after values
198struct AtomicStateTransition {
199 AtomicStateTransition(AtomicState x, AtomicState y)
200 : before(x), after(y) {}
201 AtomicState before;
202 AtomicState after;
203};
204static_assert(sizeof(AtomicStateTransition) == 8,
205 "AtomicStateTransition has unexpected size");
206

Callers 1

modify_atomic_stateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected