protected static class ZKInterProcessLockBase.AcquiredLock extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
path |
private int |
version |
| Constructor and Description |
|---|
ZKInterProcessLockBase.AcquiredLock(String path,
int version)
Store information about a lock.
|
private final String path
private final int version
public ZKInterProcessLockBase.AcquiredLock(String path, int version)
path - The path to a lock's ZNodeversion - The current version of the lock's ZNodeCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.