| Package | Description |
|---|---|
| org.apache.curator.framework.recipes.locks |
| Modifier and Type | Class | Description |
|---|---|---|
class |
InterProcessMultiLock |
A container that manages multiple locks as a single entity.
|
class |
InterProcessMutex |
A re-entrant mutex that works across JVMs.
|
class |
InterProcessSemaphoreMutex |
A NON re-entrant mutex that works across JVMs.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
Locker.acquireLock(InterProcessLock lock) |
|
protected boolean |
Locker.acquireLock(InterProcessLock lock,
long timeout,
java.util.concurrent.TimeUnit unit) |
| Constructor | Description |
|---|---|
Locker(InterProcessLock lock) |
|
Locker(InterProcessLock lock,
long timeout,
java.util.concurrent.TimeUnit unit) |
| Constructor | Description |
|---|---|
InterProcessMultiLock(java.util.List<InterProcessLock> locks) |
Creates a multi lock of any type of inter process lock
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.