|
||||||||||
| 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 read lock containing given metadata. |
InterProcessLock |
writeLock(byte[] metadata)
Obtain a write 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).
InterProcessLock writeLock(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).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||