| Modifier and Type | Interface and Description |
|---|---|
static class |
PersistentLease.LeaseState |
| Modifier and Type | Method and Description |
|---|---|
void |
addStateObserver(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer,
boolean publishInitialState) |
long |
getCurrentTtlSecs() |
long |
getKeepAliveTtlSecs() |
long |
getLeaseId() |
long |
getPreferredTtlSecs() |
PersistentLease.LeaseState |
getState() |
void |
removeStateObserver(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer) |
long getLeaseId()
PersistentLease.LeaseState getState()
long getPreferredTtlSecs()
long getKeepAliveTtlSecs()
long getCurrentTtlSecs()
void addStateObserver(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer, boolean publishInitialState)
void removeStateObserver(io.grpc.stub.StreamObserver<PersistentLease.LeaseState> observer)
Copyright © 2019. All rights reserved.