public class VersioningLock extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VersioningLock.ReadLock |
static class |
VersioningLock.WriteLock |
| Constructor and Description |
|---|
VersioningLock() |
| Modifier and Type | Method and Description |
|---|---|
VersioningLock.ReadLock |
acquireReadLock() |
VersioningLock.WriteLock |
acquireWriteLock() |
public VersioningLock.ReadLock acquireReadLock() throws InterruptedException
InterruptedExceptionpublic VersioningLock.WriteLock acquireWriteLock() throws InterruptedException
InterruptedExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.