Package | Description |
---|---|
org.apache.curator.framework.recipes.atomic |
Modifier and Type | Method and Description |
---|---|
static PromotedToLock.Builder |
PromotedToLock.builder()
Allocate a new builder
|
PromotedToLock.Builder |
PromotedToLock.Builder.lockPath(String path)
Set the path for the mutex lock (required)
|
PromotedToLock.Builder |
PromotedToLock.Builder.retryPolicy(RetryPolicy retryPolicy)
Set the retry policy to use when an operation does not succeed
|
PromotedToLock.Builder |
PromotedToLock.Builder.timeout(long maxLockTime,
TimeUnit maxLockTimeUnit)
Set the timeout to use when locking (optional)
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.