public class CuratorTempFrameworkImpl extends Object implements CuratorTempFramework
| Constructor and Description |
|---|
CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory,
long inactiveThresholdMs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the client
|
TempGetDataBuilder |
getData()
Start a get data builder
|
CuratorTransaction |
inTransaction()
Start a transaction builder
|
public CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory, long inactiveThresholdMs)
public void close()
CuratorTempFrameworkclose in interface Closeableclose in interface AutoCloseableclose in interface CuratorTempFrameworkpublic CuratorTransaction inTransaction() throws Exception
CuratorTempFrameworkinTransaction in interface CuratorTempFrameworkException - errorspublic TempGetDataBuilder getData() throws Exception
CuratorTempFrameworkgetData in interface CuratorTempFrameworkException - errorsCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.