Class ZooReaderWriterFactory
- java.lang.Object
-
- org.apache.accumulo.server.zookeeper.ZooReaderWriterFactory
-
public class ZooReaderWriterFactory extends Object
A factory forZooReaderWriter
objects.
-
-
Constructor Summary
Constructors Constructor Description ZooReaderWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IZooReaderWriter
getZooReaderWriter(String string, int timeInMillis, String secret)
Gets a new reader/writer.
-
-
-
Method Detail
-
getZooReaderWriter
public IZooReaderWriter getZooReaderWriter(String string, int timeInMillis, String secret)
Gets a new reader/writer.- Parameters:
string
- ZooKeeper connection stringtimeInMillis
- session timeout in millisecondssecret
- instance secret- Returns:
- reader/writer
-
-