Package alluxio.wire

Class RegisterLease


  • public class RegisterLease
    extends java.lang.Object
    A RegisterLease is what the master uses to control the concurrency of worker registration. The worker must be granted a lease before it can start the registration. Each lease will have an expiry timestamp. One lease is released when a worker finishes registration, or the lease expires. The lease is only checked on registration. It is not for worker authentication.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long mExpiryTimeMs  
    • Constructor Summary

      Constructors 
      Constructor Description
      RegisterLease​(long ttlMs)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mExpiryTimeMs

        public long mExpiryTimeMs
    • Constructor Detail

      • RegisterLease

        public RegisterLease​(long ttlMs)
        Constructor.
        Parameters:
        ttlMs - TTL
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object