Class BBHeader.ReadAndWriteCounterRef

    • Field Detail

      • WRITE_OFFSET

        static final long WRITE_OFFSET
      • writeCounter

        volatile long writeCounter
    • Constructor Detail

      • ReadAndWriteCounterRef

        ReadAndWriteCounterRef​(int writes)
    • Method Detail

      • relaxedWriteCounter

        long relaxedWriteCounter()
      • casWriteCounter

        boolean casWriteCounter​(long expect,
                                long update)