Package blobit.server
Class ZooKeeperMainWrapper
- java.lang.Object
-
- blobit.server.ZooKeeperMainWrapper
-
- All Implemented Interfaces:
AutoCloseable
public class ZooKeeperMainWrapper extends Object implements AutoCloseable
Simple wrapper for standalone ZooKeeper server (for local demos/tests)- Author:
- enrico.olivelli
-
-
Constructor Summary
Constructors Constructor Description ZooKeeperMainWrapper(Properties configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static voidmain(String... args)voidrun()
-
-
-
Constructor Detail
-
ZooKeeperMainWrapper
public ZooKeeperMainWrapper(Properties configuration)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
main
public static void main(String... args)
-
-