public class CreateOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateOptions.Builder
Builder for
CreateOptions. |
| Modifier and Type | Method and Description |
|---|---|
List<ACL> |
getAcl() |
CreateMode |
getCreateMode() |
long |
getTtl() |
static CreateOptions.Builder |
newBuilder(List<ACL> acl,
CreateMode createMode)
Constructs a builder for
CreateOptions. |
public CreateMode getCreateMode()
public long getTtl()
public static CreateOptions.Builder newBuilder(List<ACL> acl, CreateMode createMode)
CreateOptions.acl - the acl for the nodecreateMode - specifying whether the node to be created is ephemeral
and/or sequentialCopyright © 2008–2023 The Apache Software Foundation. All rights reserved.