NamedLockSupport
for given name
, this method must never
return null
.NamedLockSupport
for given name
, this method must never
return null
.FileLock
.FileLock
.FileLockNamedLock
s.FileLockNamedLock
s.NamedLock
.NamedLock
.ReentrantReadWriteLock
s.ReentrantReadWriteLock
s.Semaphore
s.Semaphore
s.NamedLock
s.NamedLock
s.NamedLockFactory
implementations providing reference counting.NamedLockFactory
implementations providing reference counting.NamedLock
implementations providing reference counting.NamedLock
implementations providing reference counting.ReadWriteLock
instances.ReadWriteLock
instances.Callable
as long as it returns null
(interpreted
as "no answer yet") or given time passes.Callable
as long as it returns null
(interpreted
as "no answer yet") or given time passes.sleepMills
between retries.sleepMills
between retries.NamedLock.lockShared(long, TimeUnit)
or NamedLock.lockExclusively(long, TimeUnit)
.NamedLock.lockShared(long, TimeUnit)
or NamedLock.lockExclusively(long, TimeUnit)
.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.