-
Creates a Striped<Lock>
with lazily initialized, weakly referenced locks.
Creates a Striped<ReadWriteLock>
with lazily initialized, weakly referenced read-write
locks.
Creates a Striped<Semaphore>
with lazily initialized, weakly referenced semaphores,
with the specified number of permits.
Striped.lock(int stripes)
Creates a Striped<Lock>
with eagerly initialized, strongly referenced locks.
Creates a Striped<ReadWriteLock>
with eagerly initialized, strongly referenced
read-write locks.
Creates a Striped<Semaphore>
with eagerly initialized, strongly referenced semaphores,
with the specified number of permits.