java.lang.Object
me.ahoo.cosid.lease.AcquireResult.Acquired.Builder
- Enclosing class:
AcquireResult.Acquired
Builds an
AcquireResult.Acquired.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the acquisition.duplicateOwnerKey(boolean duplicateOwnerKey) Sets whether another incarnation of the owner key holds a live lease in the namespace.
-
Method Details
-
duplicateOwnerKey
Sets whether another incarnation of the owner key holds a live lease in the namespace.- Parameters:
duplicateOwnerKey- whether the owner key is held twice; default false- Returns:
- this builder
-
build
Builds the acquisition.- Returns:
- the acquisition
-