Class BBHeader.ReadCounterRef
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.BBHeader.PadReadCounter
-
- com.github.benmanes.caffeine.cache.BBHeader.ReadCounterRef
-
- Direct Known Subclasses:
BBHeader.PadWriteCounter
- Enclosing class:
- BBHeader
abstract static class BBHeader.ReadCounterRef extends BBHeader.PadReadCounter
Enforces a memory layout to avoid false sharing by padding the read count.
-
-
Constructor Summary
Constructors Constructor Description ReadCounterRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
lazySetReadCounter(long count)
-