Package io.etcd.jetcd.lease
Class LeaseKeepAliveResponse
- java.lang.Object
-
- io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.LeaseKeepAliveResponse>
-
- io.etcd.jetcd.lease.LeaseKeepAliveResponse
-
- All Implemented Interfaces:
Response
public class LeaseKeepAliveResponse extends AbstractResponse<io.etcd.jetcd.api.LeaseKeepAliveResponse>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.etcd.jetcd.Response
Response.Header
-
-
Constructor Summary
Constructors Constructor Description LeaseKeepAliveResponse(io.etcd.jetcd.api.LeaseKeepAliveResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetID()Returns the lease ID from the keep alive request.longgetTTL()Returns the new time-to-live for the lease.-
Methods inherited from class io.etcd.jetcd.impl.AbstractResponse
getHeader, getResponse, getResponseHeader, toString
-
-