Uses of Class
com.google.common.util.concurrent.Striped
Packages that use Striped
-
Uses of Striped in com.google.common.util.concurrent
Subclasses of Striped in com.google.common.util.concurrentModifier and TypeClassDescriptionprivate static class
Implementation of Striped where 2^k stripes are represented as an array of the same length, eagerly initialized.(package private) static class
Implementation of Striped where up to 2^k stripes can be represented, using a ConcurrentMap where the key domain is [0..2^k).private static class
(package private) static class
Implementation of Striped where up to 2^k stripes can be represented, using an AtomicReferenceArray of size 2^k.Methods in com.google.common.util.concurrent that return StripedModifier and TypeMethodDescription(package private) static <L> Striped
<L> Creates aStriped<L>
with eagerly initialized, strongly referenced locks.(package private) static <L> Striped
<L> Striped.lazyWeakCustom
(int stripes, Supplier<L> supplier) Creates aStriped<L>
with lazily initialized, weakly referenced locks.Striped.lazyWeakLock
(int stripes) Creates aStriped<Lock>
with lazily initialized, weakly referenced locks.static Striped
<ReadWriteLock> Striped.lazyWeakReadWriteLock
(int stripes) Creates aStriped<ReadWriteLock>
with lazily initialized, weakly referenced read-write locks.Striped.lazyWeakSemaphore
(int stripes, int permits) Creates aStriped<Semaphore>
with lazily initialized, weakly referenced semaphores, with the specified number of permits.Striped.lock
(int stripes) Creates aStriped<Lock>
with eagerly initialized, strongly referenced locks.static Striped
<ReadWriteLock> Striped.readWriteLock
(int stripes) Creates aStriped<ReadWriteLock>
with eagerly initialized, strongly referenced read-write locks.Striped.semaphore
(int stripes, int permits) Creates aStriped<Semaphore>
with eagerly initialized, strongly referenced semaphores, with the specified number of permits.