public class DistributionLock extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributionLock.Lock |
static interface |
DistributionLock.Task<T> |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
TIMEOUT |
| Constructor and Description |
|---|
DistributionLock() |
| Modifier and Type | Method and Description |
|---|---|
static DistributionLock.Lock |
by(String key) |
static void |
init(LockProvider lp) |
public static void init(LockProvider lp)
public static DistributionLock.Lock by(String key)
Copyright © 2022. All rights reserved.