Class LeaseKeepAliveResponse

  • All Implemented Interfaces:
    Response

    public class LeaseKeepAliveResponse
    extends AbstractResponse<io.etcd.jetcd.api.LeaseKeepAliveResponse>
    • Constructor Detail

      • LeaseKeepAliveResponse

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

      • getID

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

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