Uses of Class
com.google.common.util.concurrent.Striped
Packages that use Striped
-
Uses of Striped in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return StripedModifier and TypeMethodDescriptionstatic <L> Striped<L> Creates aStriped<L>with eagerly initialized, strongly 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.