Class Striped.CompactStriped<L>
java.lang.Object
com.google.common.util.concurrent.Striped<L>
com.google.common.util.concurrent.Striped.PowerOfTwoStriped<L>
com.google.common.util.concurrent.Striped.CompactStriped<L>
Implementation of Striped where 2^k stripes are represented as an array of the same length,
eagerly initialized.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.util.concurrent.Striped
Striped.LargeLazyStriped<L>, Striped.SmallLazyStriped<L>
-
Field Summary
FieldsFields inherited from class com.google.common.util.concurrent.Striped.PowerOfTwoStriped
mask
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.util.concurrent.Striped.PowerOfTwoStriped
get, indexFor
Methods inherited from class com.google.common.util.concurrent.Striped
bulkGet, custom, lazyWeakCustom, lazyWeakLock, lazyWeakReadWriteLock, lazyWeakSemaphore, lock, readWriteLock, semaphore
-
Field Details
-
array
Size is a power of two.
-
-
Constructor Details
-
CompactStriped
-
-
Method Details