public class LeaseGrantResponse extends AbstractResponse<com.coreos.jetcd.api.LeaseGrantResponse>
Response.Header| Constructor and Description |
|---|
LeaseGrantResponse(com.coreos.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 © 2017. All rights reserved.