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
InterruptedException
public VersioningLock.WriteLock acquireWriteLock() throws InterruptedException
InterruptedException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.