| Package | Description |
|---|---|
| io.etcd.jetcd |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<LeaseGrantResponse> |
Lease.grant(long ttl)
New a lease with ttl value.
|
CompletableFuture<LeaseGrantResponse> |
Lease.grant(long ttl,
long timeout,
TimeUnit unit)
New a lease with ttl value.Waits if necessary for at most the given time
if etcd server is available.
|
Copyright © 2020. All rights reserved.