|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CuratorTempFramework
Temporary CuratorFramework instances are meant for single requests to ZooKeeper ensembles over a failure prone network such as a WAN. The APIs available from CuratorTempFramework are limited. Further, the connection will be closed after a period of inactivity.
Based on an idea mentioned in a post by Camille Fournier: http://whilefalse.blogspot.com/2012/12/building-global-highly-available.html
| Method Summary | |
|---|---|
void |
close()
Stop the client |
TempGetDataBuilder |
getData()
Start a get data builder |
CuratorTransaction |
inTransaction()
Start a transaction builder |
| Method Detail |
|---|
void close()
close in interface Closeable
CuratorTransaction inTransaction()
throws Exception
Exception - errors
TempGetDataBuilder getData()
throws Exception
Exception - errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||