Package alluxio.wire
Class RegisterLease
- java.lang.Object
-
- alluxio.wire.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()
-