Class ZooReaderWriterFactory

    • Constructor Detail

      • ZooReaderWriterFactory

        public ZooReaderWriterFactory()
    • Method Detail

      • getZooReaderWriter

        public IZooReaderWriter getZooReaderWriter​(String string,
                                                   int timeInMillis,
                                                   String secret)
        Gets a new reader/writer.
        Parameters:
        string - ZooKeeper connection string
        timeInMillis - session timeout in milliseconds
        secret - instance secret
        Returns:
        reader/writer