| Package | Description |
|---|---|
| com.ibm.etcd.client.lease | |
| com.ibm.etcd.client.utils |
| Modifier and Type | Method and Description |
|---|---|
PersistentLease.LeaseState |
PersistentLease.getState() |
static PersistentLease.LeaseState |
PersistentLease.LeaseState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistentLease.LeaseState[] |
PersistentLease.LeaseState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistentLease.addStateObserver(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer,
boolean publishInitialState) |
protected PersistentLease |
EtcdLeaseClient.newPersisentLease(long leaseId,
int minExpirySecs,
int keepAliveFreqSecs,
io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer,
Executor executor,
boolean protect) |
void |
PersistentLease.removeStateObserver(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer) |
PersistentLease |
LeaseClient.FluentMaintainRequest.start(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer) |
| Modifier and Type | Field and Description |
|---|---|
protected ListenerObserver<PersistentLease.LeaseState> |
PersistentLeaseKey.stateObserver |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PersistentLeaseKey.leaseStateChanged(boolean c,
PersistentLease.LeaseState newState,
Throwable t) |
Copyright © 2023. All rights reserved.