| Package | Description |
|---|---|
| org.swisspush.gateleen.core.lock.impl | |
| org.swisspush.gateleen.core.util |
| Modifier and Type | Class and Description |
|---|---|
class |
RedisBasedLock
Implementation of the
Lock interface based on a redis database. |
| Modifier and Type | Method and Description |
|---|---|
static io.vertx.core.Future<Boolean> |
LockUtil.acquireLock(Lock lockImpl,
String lock,
String token,
long lockExpiryMs,
org.slf4j.Logger log)
Acquire a lock.
|
static void |
LockUtil.releaseLock(Lock lockImpl,
String lock,
String token,
org.slf4j.Logger log)
Release a lock.
|
Copyright © 2016–2017. All rights reserved.