Class VolatileReferenceCell<V>

    • Field Detail

      • p10

        volatile long p10
      • p11

        volatile long p11
      • p12

        volatile long p12
      • p13

        volatile long p13
      • p14

        volatile long p14
      • p15

        volatile long p15
      • p16

        volatile long p16
      • valueOffset

        private static final long valueOffset
    • Constructor Detail

      • VolatileReferenceCell

        public VolatileReferenceCell​(V initialValue)
      • VolatileReferenceCell

        public VolatileReferenceCell()
    • Method Detail

      • get

        public final V get()
      • set

        public final void set​(V newValue)
      • lazySet

        public final void lazySet​(V newValue)
      • compareAndSet

        public final boolean compareAndSet​(V expect,
                                           V update)
      • weakCompareAndSet

        public final boolean weakCompareAndSet​(V expect,
                                               V update)
      • getAndSet

        public final V getAndSet​(V newValue)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object