Class LeaseGrantResponse

  • All Implemented Interfaces:
    Response

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

      • LeaseGrantResponse

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

      • getID

        public long getID()
        Returns the lease ID for the granted lease.
      • getTTL

        public long getTTL()
        Returns the server chosen lease time-to-live in seconds.