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>
  • Constructor Details

    • LeaseKeepAliveResponse

      public LeaseKeepAliveResponse(io.etcd.jetcd.api.LeaseKeepAliveResponse response)
  • Method Details

    • getID

      public long getID()
      Returns the lease ID from the keep alive request.
      Returns:
      the id.
    • getTTL

      public long getTTL()
      Returns the new time-to-live for the lease.
      Returns:
      the ttl.