org.apache.curator.framework.imps
Class CuratorTempFrameworkImpl

java.lang.Object
  extended by org.apache.curator.framework.imps.CuratorTempFrameworkImpl
All Implemented Interfaces:
Closeable, CuratorTempFramework

public class CuratorTempFrameworkImpl
extends Object
implements CuratorTempFramework


Constructor Summary
CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory, long inactiveThresholdMs)
           
 
Method Summary
 void close()
          Stop the client
 TempGetDataBuilder getData()
          Start a get data builder
 CuratorTransaction inTransaction()
          Start a transaction builder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CuratorTempFrameworkImpl

public CuratorTempFrameworkImpl(CuratorFrameworkFactory.Builder factory,
                                long inactiveThresholdMs)
Method Detail

close

public void close()
Description copied from interface: CuratorTempFramework
Stop the client

Specified by:
close in interface Closeable
Specified by:
close in interface CuratorTempFramework

inTransaction

public CuratorTransaction inTransaction()
                                 throws Exception
Description copied from interface: CuratorTempFramework
Start a transaction builder

Specified by:
inTransaction in interface CuratorTempFramework
Returns:
builder object
Throws:
Exception - errors

getData

public TempGetDataBuilder getData()
                           throws Exception
Description copied from interface: CuratorTempFramework
Start a get data builder

Specified by:
getData in interface CuratorTempFramework
Returns:
builder object
Throws:
Exception - errors


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.