Class CuratorTempFrameworkImpl
- java.lang.Object
-
- org.apache.curator.framework.imps.CuratorTempFrameworkImpl
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,CuratorTempFramework
public class CuratorTempFrameworkImpl extends java.lang.Object implements CuratorTempFramework
-
-
Constructor Summary
Constructors Constructor Description CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory, long inactiveThresholdMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Stop the clientTempGetDataBuildergetData()Start a get data builderCuratorTransactioninTransaction()Start a transaction builder
-
-
-
Constructor Detail
-
CuratorTempFrameworkImpl
public CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory, long inactiveThresholdMs)
-
-
Method Detail
-
close
public void close()
Description copied from interface:CuratorTempFrameworkStop the client- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceCuratorTempFramework
-
inTransaction
public CuratorTransaction inTransaction() throws java.lang.Exception
Description copied from interface:CuratorTempFrameworkStart a transaction builder- Specified by:
inTransactionin interfaceCuratorTempFramework- Returns:
- builder object
- Throws:
java.lang.Exception- errors
-
getData
public TempGetDataBuilder getData() throws java.lang.Exception
Description copied from interface:CuratorTempFrameworkStart a get data builder- Specified by:
getDatain interfaceCuratorTempFramework- Returns:
- builder object
- Throws:
java.lang.Exception- errors
-
-