|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Private public interface InterProcessReadWriteLock
An interface for a distributed reader-writer lock.
| Method Summary | |
|---|---|
InterProcessLock |
readLock(byte[] metadata)
Obtain a reader lock containing given metadata. |
InterProcessLock |
writeLock(byte[] metadata)
Obtain a writer lock containing given metadata. |
| Method Detail |
|---|
InterProcessLock readLock(byte[] metadata)
metadata - Serialized lock metadata (this may contain information
such as the process owning the lock or the purpose for
which the lock was acquired). Must not be null.
InterProcessLock writeLock(byte[] metadata)
metadata - See documentation of metadata parameter in readLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||