java.io.Closeable, java.lang.AutoCloseable, CuratorTempFrameworkpublic class CuratorTempFrameworkImpl extends java.lang.Object implements CuratorTempFramework
| Constructor | Description |
|---|---|
CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory,
long inactiveThresholdMs) |
| Modifier and Type | Method | 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 java.lang.AutoCloseableclose in interface java.io.Closeableclose in interface CuratorTempFrameworkpublic CuratorTransaction inTransaction() throws java.lang.Exception
CuratorTempFrameworkinTransaction in interface CuratorTempFrameworkjava.lang.Exception - errorspublic TempGetDataBuilder getData() throws java.lang.Exception
CuratorTempFrameworkgetData in interface CuratorTempFrameworkjava.lang.Exception - errorsCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.