public class LeaseGrantResponse extends AbstractResponse<io.etcd.jetcd.api.LeaseGrantResponse>
Response.Header| Constructor and Description |
|---|
LeaseGrantResponse(io.etcd.jetcd.api.LeaseGrantResponse response) |
| Modifier and Type | Method and Description |
|---|---|
long |
getID()
ID is the lease ID for the granted lease.
|
long |
getTTL()
TTL is the server chosen lease time-to-live in seconds.
|
getHeader, getResponse, getResponseHeader, toStringCopyright © 2019. All rights reserved.