public class ZkPathCoreBuilder extends Object
| Constructor and Description |
|---|
ZkPathCoreBuilder(String appRoot) |
ZkPathCoreBuilder(ZkPathCore basePathCore) |
| Modifier and Type | Method and Description |
|---|---|
ZkPathCoreBuilder |
append(String zNode)
Append a zNode
|
ZkPathCore |
build() |
ZkPathCoreBuilder |
parse(String fullPath)
Parses the zNodes from the specified path.
|
ZkPathCoreBuilder |
remove()
Remove the last zNode
|
ZkPathCoreBuilder |
truncateToSize(int targetSize)
Removes zNodes until there are targetSize remaining
|
public ZkPathCoreBuilder(ZkPathCore basePathCore)
public ZkPathCoreBuilder(String appRoot)
public ZkPathCoreBuilder parse(String fullPath)
fullPath - public ZkPathCoreBuilder append(String zNode)
zNode - public ZkPathCoreBuilder remove()
public ZkPathCoreBuilder truncateToSize(int targetSize)
targetSize - public ZkPathCore build()
Copyright © 2012–2015 Facebook, Inc.. All rights reserved.