MCPcopy
hub / github.com/LMAX-Exchange/disruptor / set

Method set

src/main/java/com/lmax/disruptor/Sequence.java:100–104  ·  view source on GitHub ↗

Perform an ordered write of this sequence. The intent is a Store/Store barrier between this write and any previous store. @param value The new value for the sequence.

(final long value)

Source from the content-addressed store, hash-verified

98 * @param value The new value for the sequence.
99 */
100 public void set(final long value)
101 {
102 VarHandle.releaseFence();
103 this.value = value;
104 }
105
106 /**
107 * Performs a volatile write of this sequence. The intent is

Callers 15

runMethod · 0.95
writerMethod · 0.45
actor1Method · 0.45
actor1Method · 0.45
actor1Method · 0.45
actor2Method · 0.45
writerMethod · 0.45
actor1Method · 0.45
actor1Method · 0.45
actor1Method · 0.45

Calls

no outgoing calls

Tested by 15

runMethod · 0.76
onEventMethod · 0.36
resetMethod · 0.36
runMethod · 0.36
runMethod · 0.36
onEventMethod · 0.36
resetMethod · 0.36
onEventMethod · 0.36
resetMethod · 0.36
resetMethod · 0.36