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()
CuratorTempFramework
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CuratorTempFramework
public CuratorTransaction inTransaction() throws Exception
CuratorTempFramework
inTransaction
in interface CuratorTempFramework
Exception
- errorspublic TempGetDataBuilder getData() throws Exception
CuratorTempFramework
getData
in interface CuratorTempFramework
Exception
- errorsCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.