public interface LeaseClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LeaseClient.FluentGrantRequest |
static interface |
LeaseClient.FluentMaintainRequest |
| Modifier and Type | Method and Description |
|---|---|
default com.google.common.util.concurrent.ListenableFuture<LeaseGrantResponse> |
create(long ttlSecs)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<LeaseGrantResponse> |
create(long leaseId,
long ttlSecs)
Deprecated.
|
LeaseClient.FluentGrantRequest |
grant(long ttlSecs) |
com.google.common.util.concurrent.ListenableFuture<LeaseKeepAliveResponse> |
keepAliveOnce(long leaseId) |
com.google.common.util.concurrent.ListenableFuture<LeaseLeasesResponse> |
list() |
LeaseClient.FluentMaintainRequest |
maintain() |
com.google.common.util.concurrent.ListenableFuture<LeaseRevokeResponse> |
revoke(long leaseId) |
com.google.common.util.concurrent.ListenableFuture<LeaseRevokeResponse> |
revoke(long leaseId,
boolean ensureWithRetries) |
default com.google.common.util.concurrent.ListenableFuture<LeaseTimeToLiveResponse> |
ttl(long leaseId) |
com.google.common.util.concurrent.ListenableFuture<LeaseTimeToLiveResponse> |
ttl(long leaseId,
boolean includeKeys) |
@Deprecated com.google.common.util.concurrent.ListenableFuture<LeaseGrantResponse> create(long leaseId, long ttlSecs)
grant(long)@Deprecated default com.google.common.util.concurrent.ListenableFuture<LeaseGrantResponse> create(long ttlSecs)
grant(long)LeaseClient.FluentGrantRequest grant(long ttlSecs)
com.google.common.util.concurrent.ListenableFuture<LeaseRevokeResponse> revoke(long leaseId)
com.google.common.util.concurrent.ListenableFuture<LeaseRevokeResponse> revoke(long leaseId, boolean ensureWithRetries)
com.google.common.util.concurrent.ListenableFuture<LeaseTimeToLiveResponse> ttl(long leaseId, boolean includeKeys)
default com.google.common.util.concurrent.ListenableFuture<LeaseTimeToLiveResponse> ttl(long leaseId)
com.google.common.util.concurrent.ListenableFuture<LeaseKeepAliveResponse> keepAliveOnce(long leaseId)
com.google.common.util.concurrent.ListenableFuture<LeaseLeasesResponse> list()
LeaseClient.FluentMaintainRequest maintain()
Copyright © 2019. All rights reserved.