Package org.voltcore.zk

Examples of org.voltcore.zk.ZKCountdownLatch


            // Initialize command logger
            m_commandLog.init(m_catalogContext, txnId, m_cartographer.getPartitionCount(),
                              m_config.m_commandLogBinding,
                              perPartitionTxnIds);
            try {
                ZKCountdownLatch latch =
                        new ZKCountdownLatch(m_messenger.getZK(),
                                VoltZK.commandlog_init_barrier, m_messenger.getLiveHostIds().size());
                latch.countDown(true);
                latch.await();
            } catch (Exception e) {
                VoltDB.crashLocalVoltDB("Failed to init and wait on command log init barrier", true, e);
            }
        }
View Full Code Here

TOP

Related Classes of org.voltcore.zk.ZKCountdownLatch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.