| Modifier and Type | Method and Description |
|---|---|
PutOption |
build()
build the put option.
|
PutOption.Builder |
withLeaseId(long leaseId)
Assign a leaseId for a put operation.
|
PutOption.Builder |
withPrevKV()
When withPrevKV is set, put response contains previous key-value pair.
|
public PutOption.Builder withLeaseId(long leaseId)
leaseId - lease id to apply to a put operationIllegalArgumentException - if lease is less than zero.public PutOption.Builder withPrevKV()
public PutOption build()
Copyright © 2021. All rights reserved.