public class LeaseGrantResponse extends AbstractResponse<LeaseGrantResponse>
Response.Header| Constructor and Description |
|---|
LeaseGrantResponse(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, toStringpublic LeaseGrantResponse(LeaseGrantResponse response)
Copyright © 2020. All rights reserved.