Class Lease


  • public class Lease
    extends Object
    Lease parameter, no transaction may also acquire this lease until lastValid.
    • Constructor Detail

      • Lease

        public Lease()
        Creates a randomly generated lease.
      • Lease

        public Lease​(String lease)
        Creates a lease from a base64 encoded string.
        Parameters:
        lease - base64 encoded string.
      • Lease

        public Lease​(byte[] lease)
        Creates a lease from the provided bytes.
        Parameters:
        lease -