static Striped<java.util.concurrent.locks.Lock> |
Striped.lazyWeakLock(int stripes) |
Creates a Striped<Lock> with lazily initialized, weakly referenced locks.
|
static Striped<java.util.concurrent.locks.ReadWriteLock> |
Striped.lazyWeakReadWriteLock(int stripes) |
Creates a Striped<ReadWriteLock> with lazily initialized, weakly referenced read-write
locks.
|
static Striped<java.util.concurrent.Semaphore> |
Striped.lazyWeakSemaphore(int stripes,
int permits) |
Creates a Striped<Semaphore> with lazily initialized, weakly referenced semaphores,
with the specified number of permits.
|
static Striped<java.util.concurrent.locks.Lock> |
Striped.lock(int stripes) |
Creates a Striped<Lock> with eagerly initialized, strongly referenced locks.
|
static Striped<java.util.concurrent.locks.ReadWriteLock> |
Striped.readWriteLock(int stripes) |
Creates a Striped<ReadWriteLock> with eagerly initialized, strongly referenced
read-write locks.
|
static Striped<java.util.concurrent.Semaphore> |
Striped.semaphore(int stripes,
int permits) |
Creates a Striped<Semaphore> with eagerly initialized, strongly referenced semaphores,
with the specified number of permits.
|